Jump to content

Cache question.


Recommended Posts

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

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

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

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

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

 

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

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

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

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...