Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Disable cache for template files

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 03-20-2017, 09:06 AM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Question 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?
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote
  #2  
Old 03-20-2017, 05:11 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
qualiteam (03-21-2017)
  #3  
Old 03-20-2017, 06:07 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default Re: Disable cache for template files

i found it. General settings -> "Do not check if templates are changed (Smarty compile_check)."

thanks, Steve.
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote

The following user thanks finestshops for this useful post:
qualiteam (03-21-2017)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:19 AM.

   

 
X-Cart forums © 2001-2020