Jump to content

Force module of php file to cache


Recommended Posts

Hello,

I have a tricky question: Is it possible to disable cache (APC in my case) in prestashop BO to stop floofing APC by useless user cache entries, AND force some modules/files to still use the cache?

 

My problem is that enabling APC in BO is useless and in fact slower the performance of site. Except of blocklayered module, this one is much faster with cache enabled. So I was curious if there is in php source code something like
if (cache.isEnabled) -> set/get variable from cache

else -> set/get variable

where removing the condition will force to use the cache which is set correctly on server of course.

 

Till I found some alternative for blocklayered module, this is the only solution I have on my mind at this moment...

Thanks

Link to comment
Share on other sites

×
×
  • Create New...