• PHP reference
  • Services
  • HTTP

Headers

class Services\HTTP\Headers

Class Headers.

Methods

static staticAssetCaching(string $etag = null, integer $lastModified = null, string $pragma = 'public', string $recheck = 'must-revalidate', integer $expires = 864000)

Output caching headers for static assets.

Parameters

  • string $etag
  • integer $lastModified
  • string $pragma
  • string $recheck
  • integer $expires