Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to disable cache?
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=369
Page 1 of 1

Author:  Hacker [ 17. Jun 2006, 14:32 ]
Post subject:  How to disable cache?

Hi,
I am setting up my gallery and I have
Code:
$cache_dirs = false;
in config.php and it is not overridden in my_config.php. But if I disable access to the cache dir, the thumbnails are not shown (even though "No Cache!" is written in the bottom right corner). :( How do I disable the cache altogether?

TIA
Roman

Author:  TinyWebGallery [ 19. Jun 2006, 09:34 ]
Post subject: 

disable cache is not for not generating any cache images - it's to disable the internall session caching.

You cannot disable this cache. TWG would simply not be useable if you do this. If you want to protect your images even in the cache there is a flag called: disable_direct_thumbs_access

This makes it possible to protect the cache dir (everything is read with php then and no direct links anymore).

/Michael

Author:  Hacker [ 19. Jun 2006, 09:37 ]
Post subject: 

OK, I see. Thank you.

Roman

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/