Jump to content

ModuleCore::_clearCache ultra slow


gloomybear

Recommended Posts

Hi PS Developers,

 

Module core class has a method _clearCache that modules can use to clear smarty cache.

Number of modules does it (i.e. homenew module to show now product on home once you add a new one).

 

This method works well on a test environment but called on a live site (with 15-25 concurrent users browsing site) _clearCache takes ages (three minutes and then it times out).

 

Do you know if there is any way to speed up this method (or any better way to refresh module smarty cache)?

 

Many thanks for your advice!

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...