Closed GoogleCodeExporter closed 8 years ago
Options All -Indexes
Header unset Cache-Control:
Header append Cache-Control: "max-age=3600, public"
Put this in your .htaccess
Original comment by m...@maartenklok.nl
on 31 May 2011 at 12:17
I've already added the cache-control in the image-header, so the
thumb.php-script will look into this and refresh the cache every single hour?
Original comment by Sebastia...@googlemail.com
on 31 May 2011 at 6:48
Thanks for the feedback. I've modified timthumb so that cache is purely time
based now. Having it time based as well as number of files based was confusing.
Also number of files is meaningless if you don't know their size.
Also changed cacheClean routine to be at start of execution so that the first
visitor after FILE_CACHE_TIME_BETWEEN_CLEANS expires doesn't see a stale image.
Original comment by mmaun...@gmail.com
on 7 Aug 2011 at 1:49
Wow, thx for your great work and for the including.
Original comment by Sebastia...@googlemail.com
on 16 Aug 2011 at 10:56
Original issue reported on code.google.com by
Sebastia...@googlemail.com
on 29 May 2011 at 6:25