[SOLVED] Cache Issue
Posted: Fri Dec 13, 2013 6:32 pm
This may or may not be the correct place for this question as it starts with a question about the core product but may ultimately not be an issue with it . . .
Firstly, I have reviewed http://docs.cmsmadesimple.org/general-i ... g-in-cmsms and not found out what each cache directory is specifically for and this would be very helpful to know.
The "/tmp/cache" appears to be smarty CSS caching and the '/tmp/templates_c" directory appears to be smarty page template caching. This jives with my experience of other products that use Smarty as they had similar folder structures/names. Correct me if I'm wrong about these directories, but more importantly what is being cached in the main cache directory ("/cache") and how is it controlled?
My issue: I am generating up to 8,000 files a day in the "/cache" directory and about 1200MB in 24 hours.
I think this has to do with a couple UDTs I created that call for Google Calendar info. I modified the RSS call with a random string on the end so that each new call looks unique to Google and gets the freshest info; otherwise, it won't get updated for approx. 4 hours and Google offers no workarounds . . . I have not only added 'nocache' to the UDT call, but also wrapped the HTML and the UDT in a "{nocache}" call and turned off UDT caching in the Global Settings. Smarty Caching is off as well. Module calls are set to be cached . . .
Any help or guidance would be much appreciated. Thanks.
Firstly, I have reviewed http://docs.cmsmadesimple.org/general-i ... g-in-cmsms and not found out what each cache directory is specifically for and this would be very helpful to know.
The "/tmp/cache" appears to be smarty CSS caching and the '/tmp/templates_c" directory appears to be smarty page template caching. This jives with my experience of other products that use Smarty as they had similar folder structures/names. Correct me if I'm wrong about these directories, but more importantly what is being cached in the main cache directory ("/cache") and how is it controlled?
My issue: I am generating up to 8,000 files a day in the "/cache" directory and about 1200MB in 24 hours.
I think this has to do with a couple UDTs I created that call for Google Calendar info. I modified the RSS call with a random string on the end so that each new call looks unique to Google and gets the freshest info; otherwise, it won't get updated for approx. 4 hours and Google offers no workarounds . . . I have not only added 'nocache' to the UDT call, but also wrapped the HTML and the UDT in a "{nocache}" call and turned off UDT caching in the Global Settings. Smarty Caching is off as well. Module calls are set to be cached . . .
Any help or guidance would be much appreciated. Thanks.