.

PublicLazyCacheHeaderManager Class Reference

This cache header manager sends cache headers that let both clients and proxies keep an item in cache until it expires, without revalidation. More...

Inheritance diagram for PublicLazyCacheHeaderManager:
BaseCacheHeaderManager ICacheHeaderManager

List of all members.

Protected Member Functions

  get_cache_control ($expirationdate, $max_age)
  Returns cache control header's content.

Detailed Description

This cache header manager sends cache headers that let both clients and proxies keep an item in cache until it expires, without revalidation.

Definition at line 6 of file publiclazy.cacheheader.php.


Member Function Documentation

PublicLazyCacheHeaderManager::get_cache_control ( expirationdate,
max_age  
) [protected]

Returns cache control header's content.

Parameters:
timestamp  $expirationdate

Reimplemented from BaseCacheHeaderManager.

Definition at line 12 of file publiclazy.cacheheader.php.

00012                                                                         {
00013                 return "public, max-age=$max_age, must-revalidate";
00014         }

The documentation for this class was generated from the following file: