php - Smarty not changing until Apache server restart -
i have smarty integrated zend , it's using zend cache smarty saving cache separate folder.
when make changes smarty or php codes zend, seems way see changes restart httpd
isn't ideal.
is there better way? perhaps turning cache off and/or refresh can see changes made both on php , smarty?
according zend documentation, there seems backend , frontend caching zend cache.
smarty has it's own caching. templates_c
directory keeps compiled templates. try clearing that. can go smarty class , change setting when template changed know on page refresh. in smarty.class.php change below true
.
var $compile_check = true;
i turn off in production doesn't slowdown site any.
Comments
Post a Comment