00001 <?php
00002
00003
00004
00005 class NoCacheCacheHeaderManager implements ICacheHeaderManager {
00006
00007
00008
00009
00010
00011
00012
00013 public function send_headers(&$content, $expirationdate, $lastmodifieddate) {
00014 GyroHeaders::set('Pragma', 'no-cache', false);
00015 GyroHeaders::set('Cache-Control', 'no-cache,no-store', false);
00016 GyroHeaders::set('Last-Modified', '', false);
00017 GyroHeaders::set('Expires', GyroDate::http_date(time() - GyroDate::ONE_DAY), false);
00018 }
00019 }