frankit Posted November 3, 2014 Share Posted November 3, 2014 (edited) Hi, I'm on ps 1.5.6.0, I enabled the smarty cache and everything looks fine but i noticed that in cache/smarty/cache only 5 folder were created (blocktopmenu, blocksocial, blocksearch_top, blockpermanentlinks_header, bloackmyaccountfooter) even if i visited almost all the relevant section of the site (home, category page, product page, cms pages, cart and so on) with and without force template compilation option enabled. The cache folder inside the theme directory instead, doesn't have any recent file, only old css and js file generated with CCC lots of time ago. I saw that with a clean install of ps using the default theme, the folder cache/smarty/cache have a new file (not folder) for almost every section i visit on the site, like: [...]blockcms.tpl.php, [...]blockccategories.tpl.php, [...]blockcontact.tpl.php and so on. So should I assume that smarty cache is not working in my production shop even if I got no errors/warnings in php_errors nor in backend/frontend? It really seems so since cache can't work without cached files ! but what's wrong here? I really need the cache fully working. Thanks in advance. Edited November 5, 2014 by frankit (see edit history) Link to comment Share on other sites More sharing options...
JPresta.com Posted November 3, 2014 Share Posted November 3, 2014 cache/smarty/cache is used to store some elements that are explicitly cached by modules cache/smarty/compile is used to store templates's cache and is probably what you are looking for. 1 Link to comment Share on other sites More sharing options...
El Patron Posted November 3, 2014 Share Posted November 3, 2014 please see cache/smarty/compile 1 Link to comment Share on other sites More sharing options...
frankit Posted November 5, 2014 Author Share Posted November 5, 2014 Ok thank you and sorry for the dumb question, I was tricked by the fact that in smarty/cache/compile I had just a couple of folders (containing just a few files related to the backend) created after the cache activation. So I assume that the cache files are always created there, with or without caching enabled but used or skipped according to that setting. Link to comment Share on other sites More sharing options...
El Patron Posted November 5, 2014 Share Posted November 5, 2014 Ok thank you and sorry for the dumb question, I was tricked by the fact that in smarty/cache/compile I had just a couple of folders (containing just a few files related to the backend) created after the cache activation. So I assume that the cache files are always created there, with or without caching enabled but used or skipped according to that setting. there are no dumb questions just dumb answers...learning everyday keeps our minds young....please continue to visit and share your knowledge with other community members! Link to comment Share on other sites More sharing options...
vivianne Posted November 6, 2014 Share Posted November 6, 2014 Does someone know why my compile folder is not clearing completely when I try to delete the folders inside? There are always some folders left which I cannot delete. And so changed I made in the tpl-files won´t show. Link to comment Share on other sites More sharing options...
Recommended Posts