khashnan / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

How to complete disable reloading of cached images / no expire ever #316

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
2.8.5

Please provide any additional information below.

How can i set timthumb to never even consider reloading an thumbnail or image 
if the image is found in the cache folder?

It seems even though i have set:

FILE_CACHE_TIME_BETWEEN_CLEANS', -1
FILE_CACHE_MAX_FILE_AGE', -1
BROWSER_CACHE_MAX_AGE', 
8640000000000000000000000000000000000000000000000000000000

Some images are being re-fetched even though they already have a proper 
thumbnail generated from previously.

This is taking up to many system resources, is there anyway i can modify the 
script that if thumb is found, display it and skip the rest?

Thanks.

Original issue reported on code.google.com by jonny_er...@bredband.net on 8 Jan 2012 at 11:20

GoogleCodeExporter commented 8 years ago

Original comment by BinaryMoon on 3 Oct 2013 at 7:11