Quote:
Originally Posted by mariosipad
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!
|
Your memory is fine
The browser will cache image, thumbnails and the actual pdf / epub / mobi files.
Data coming from the database is not cached.