| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Template Caching for Secure Pages | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat] |
|||||||
#2
|
|||||||||
|
|||||||||
$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.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|