Kstyle001 Posted August 1, 2014 Share Posted August 1, 2014 Hi, I have a weird problem. (or maybe a very easy to solve one, I'm not sure) So when I disable my cache in the back office of prestashop, my front office works fine. But when I enable cache, some of my modules acht weird. For example, a slider module gets different types of arrows to go to different slides. Another module has a picture when I go over the picture, the picture starts to scale up and down... Any ideas why this is? Link to comment Share on other sites More sharing options...
El Patron Posted August 2, 2014 Share Posted August 2, 2014 in back office, which cache are you exactly talking about? Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 2, 2014 Author Share Posted August 2, 2014 in back office, which cache are you exactly talking about? Hi, I'm talking about the smarty cache. (btw I'm running 1.608 and on a local server, don't know if that really matters though) Link to comment Share on other sites More sharing options...
El Patron Posted August 3, 2014 Share Posted August 3, 2014 uhm, default boot strap theme/modules or custom theme/modules? if on localhost, would not really make a difference as smarty cache is essentially just file cache. You can turn on Prestashop error reporting when cache enabled see if any error given. http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 3, 2014 Author Share Posted August 3, 2014 uhm, default boot strap theme/modules or custom theme/modules? if on localhost, would not really make a difference as smarty cache is essentially just file cache. You can turn on Prestashop error reporting when cache enabled see if any error given. http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Thx for the info. I'm using a custom theme/modules. Link to comment Share on other sites More sharing options...
malcek Posted August 4, 2014 Share Posted August 4, 2014 Hmmm, this is happening to me too, but only on Featured product on Homepage, other page is displaying fine when switch smarty cache off it shows this module fine. I'm on version 1.6.0.8 and on domain www.sexy-perilo.si Martin Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 4, 2014 Author Share Posted August 4, 2014 But does it really matter to enable smarty cache? I know it's for speeding up loading times for the site. But is there a big difference when disabled? Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 But does it really matter to enable smarty cache? I know it's for speeding up loading times for the site. But is there a big difference when disabled? you 'should' always run with smarty cache enabled, either never compile or compile on update. not running smarty cache, is 'not' advised. Link to comment Share on other sites More sharing options...
malcek Posted August 4, 2014 Share Posted August 4, 2014 El patron why is not advised? can you explain why, so I can show it to my support for VPS my team for VPS is installed google page_speed module on server level and the site is greatly reduce load time (from 12-15 sec to 3-4 sec which is accaptable). and they also advice me to turn off smarty cache? Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 and they also advice me to turn off smarty cache? it is a no brainier, turn off smarty cache, go visit front office...navigate around... then turn on smarty cache, navigate around, but do it more than once so smarty cache is built and 2nd visit uses cache. if there is no difference or if navigation is faster with smarty off, then there is some 'other' cache working underneath, but I have never heard/seen of shop faster without smarty cache. if someone advised to turn off smarty cache, revoke their access, change ftp...then have them escorted out of the building by security..cause they don't know what they are talking about. Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 4, 2014 Author Share Posted August 4, 2014 But if smarty cache doesn't work properly isn't it better to disable it? Link to comment Share on other sites More sharing options...
malcek Posted August 4, 2014 Share Posted August 4, 2014 For caching they installed Memcached and Google page_speed modul on server level and I can tell you that after they did their work our site is openeing much faster than before. what exactly they done I don't know and never ask them in detail, but it is working. I'm just telling you from my point of view and from users on my site which see improvment on opening page. This is on our VPS server and we are running only Prestashop shops on it and this can't be done on shared servers. Martin Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 For caching they installed Memcached and Google page_speed modul on server level and I can tell you that after they did their work our site is openeing much faster than before. what exactly they done I don't know and never ask them in detail, but it is working. I'm just telling you from my point of view and from users on my site which see improvment on opening page. This is on our VPS server and we are running only Prestashop shops on it and this can't be done on shared servers. Martin please try this as mentioned above turn off smarty cache, go visit front office...navigate around... then turn on smarty cache, navigate around, but do it more than once so smarty cache is built and 2nd visit uses cache. Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 4, 2014 Author Share Posted August 4, 2014 You can turn on Prestashop error reporting when cache enabled see if any error given. http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Just did this. Can't find any errors though. Any other tips? Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 But if smarty cache doesn't work properly isn't it better to disable it? if smarty cache does not work then all is lost, ps and many other cms do not perform well without it. Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 I think we need to stay on topic, I just realized after looking at post that we went off track. if you are not original poster and have specific question, please post new topic so you get entire community advice. thanks Link to comment Share on other sites More sharing options...
El Patron Posted August 4, 2014 Share Posted August 4, 2014 Just did this. Can't find any errors though. Any other tips? it 'sounds' like you have hosting running possibly varnish cache. I think if your provide 1) link to shop with smarty turned on for review and/or 2) provide before and after screen shots of front office issue and 3) screen shot of back office-->advanced parms-->performance that we can help more. Link to comment Share on other sites More sharing options...
Kstyle001 Posted August 7, 2014 Author Share Posted August 7, 2014 I'm on a localhost and don't have hosting yet, so I can't give a link. But like I said, the only thing that changed from the default prestashop settings are smarty chache. If I enable it, some modules act weird like I described in the OP. If I disable Smarty cache, they both work perfect. I'm running it on WAMP server 2.4. Btw how do I disable Varnisch cache on WAMP? Maybe I could try that. Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 I'm on a localhost and don't have hosting yet, so I can't give a link. But like I said, the only thing that changed from the default prestashop settings are smarty chache. If I enable it, some modules act weird like I described in the OP. If I disable Smarty cache, they both work perfect. I'm running it on WAMP server 2.4. Btw how do I disable Varnisch cache on WAMP? Maybe I could try that. jajajaja....acting weird, well there technical way to expand on that... Link to comment Share on other sites More sharing options...
El Patron Posted August 7, 2014 Share Posted August 7, 2014 the only time I have see modules act weird is when file cache is turned on. but only at install/un-install time. I don't use other types of cache because they are not designed 'especially' for ecommerce, so I prefer solutions written for ps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now