Adding specific folders to purge cache

Gavh

New Member
#1
I'm trying to track down a problem between JCH optimize and site cache. Essentially, JCH keeps its own files for CSS and JS in a specific cache folder. If this folder isn't cleared at the same time that the site cache is cleared, the style sheet for the site can break.

I've configured the Regular Labs cache cleaner to add this folder, so a manual clear always fixes the problem. However, it's the automated clears every X hours that can cause this issue.

As I use the LiteSpeed plugin, is there any way to specify that when the litespeed cache is purged, it purges this folder too? I looked at the setting but can't see it. Or is this something that needs to be configured in the core Joomla software? Any help would be much appreciated to finally getting to the bottom of this!
 

serpent_driver

Well-Known Member
#2
There is no option or code in cache plugin for Joomla to do whatever additional action if you purge the cache, so you must "hack" the code of the plugin to get what you like.
 
Top