X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing and adding new features (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Disable cache for template files (https://forum.x-cart.com/showthread.php?t=75110)

finestshops 03-20-2017 09:06 AM

Disable cache for template files
 
Hi guys,

Anybody knows a way to disable cache for template files in 4.6 or at least force a new cache to be generated every time we upload a new file?
usually, it's not a big deal to do cleanup to test the changes but the recent customization for one of our clients requires hundreds of changes in few dozen of the template files and not having to run cleanup after each would speed up the process a lot.

we changed this in config.php:

var $compile_check_md5 = TRUE;

but that did not help. I remember, there was a force cache generation setting in templater.php in older versions but can not find it in 4.6

anybody knows how to enable force generation or disable cache for templates for development?

cflsystems 03-20-2017 05:11 PM

Re: Disable cache for template files
 
There is a setting in admin under general settings
It wasn't working properly in 4.7.x I think but it should be working fine in 4.6.x.

finestshops 03-20-2017 06:07 PM

Re: Disable cache for template files
 
i found it. General settings -> "Do not check if templates are changed (Smarty compile_check)."

thanks, Steve.


All times are GMT -8. The time now is 09:29 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.