gyro/core/controller/base/cachemanager/headermanager/publiclazy.cacheheader.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * This cache header manager sends cache headers that let both clients and proxies 00004 * keep an item in cache until it expires, without revalidation 00005 */ 00006 class PublicLazyCacheHeaderManager extends BaseCacheHeaderManager { 00007 /** 00008 * Returns cache control header's content 00009 * 00010 * @param timestamp $expirationdate 00011 */ 00012 protected function get_cache_control($expirationdate, $max_age) { 00013 return "public, max-age=$max_age, must-revalidate"; 00014 } 00015 }