Jump to content

[SOLVED] smarty cache not working?


Recommended Posts

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 :D! but what's wrong here?

I really need the cache fully working.

Thanks in advance.

 

Edited by frankit (see edit history)
Link to comment
Share on other sites

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

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

×
×
  • Create New...