View Single Post
Old 11-21-2013, 06:02 AM   #694
mariosipad
Addict
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 302
Karma: 10680
Join Date: Nov 2012
Device: iPad & iPhone with Marvin & Kobo Glo HD
Quote:
Originally Posted by vlad59 View Post
COPS does not cache data but your browser can
Hi vlad59,

If my memory is still what it was, doesn't COPS tell the browser to cache some content in fetch.php?

[CODE] $expires = 60*60*24*14;
header("Pragma: public");
header("Cache-Control: maxage=".$expires);
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT');/CODE]

In .htacces it is possible to set more caching options.

I find caching useful for "remembering" the cover thumbnails.

for COPS!
mariosipad is offline   Reply With Quote