gyro/core/controller/base/cachemanager/headermanager/privaterigid.cacheheader.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Allow client to cache, but force it to look up ressource on each request 00004 */ 00005 class PrivateRigidCacheHeaderManager extends BaseCacheHeaderManager { 00006 /** 00007 * Returns cache control header's content 00008 * 00009 * @param timestamp $expirationdate 00010 */ 00011 protected function get_cache_control($expirationdate, $max_age) { 00012 return "private, must-revalidate, max-age=0"; 00013 } 00014 }