View Single Post
Old 11-21-2013, 09:51 AM   #695
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 352
Karma: 37761
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by mariosipad View Post
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.
vlad59 is offline   Reply With Quote