Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Post clear_cache hook to perform other operations?

Is there a hook I could tie into when the cache is cleared in Fuel to clear other caches I have in my environment? For example, there is nginx cache. Would it be possible to tie into the clear_cache method so that when the button is pressed in Fuel to clear cache -- that it also runs another operation of my choosing? Or would that require a hack to the core? Any ideas?


  • I'd recommend you create your own library/controller that leverages the $this->fuel->cache->clear_all(); and your own custom code.

Sign In or Register to comment.