![]() |
Template Caching for Secure Pages
Does anyone else notice that secure page templates are cached in such a way so that when they are updated it takes about 1 hour for the template to reflect the changes? I am doing some template editing and would like to see the changes immediately.
I am betting this is a smarty setting, however, I haven't see where to change it. I have tried changing the following settings in my smarty.class.php file, but with no luck SETTINNGS var $compile_check = true; var $force_compile = false; (tried setting it to true also) var $cache_lifetime = 3600; (tried setting this to 0) Thanks in advance for any help :!: |
$force_compile set to true should force all templates to be compiled regardless of timestamp. This should fix the problem, unless you have improper permissions on the templates_c/ dir, I'd remove the directory and let smarty recreate it so it has permissions the webserver can read/write too.
Another thing I would change is: $smarty->use_sub_dirs = false; in smarty.php, I don't see the point of forcing compiling in one dir? Btw, caching is disabled by default in x-cart with smarty. $caching = 0; hth. ;) |
All times are GMT -8. The time now is 11:22 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.