gyro/core/controller/base/cachemanager/headermanager/privatelazy.cacheheader.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * This cache header manager sends cache headers that let clients but not proxies 00004 * keep an item in cache until it expires, without revalidation 00005 */ 00006 class PrivateLazyCacheHeaderManager 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 "private, max-age=$max_age, must-revalidate"; 00014 } 00015 }