CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11692] Eventhandler to trigger cache clear

avatar
Created By: Max (vmadmax)
Date Submitted: 2018-01-07 09:57

Assigned To:
Resolution: Won't Fix
State: Open
Summary:
Eventhandler to trigger cache clear
Detailed Description:
Hi,
it would be nice, if there would be a trigger/eventhandler to check if the cache
was cleared.

For example I wrote today a Cloudflare cache purge module. I delete the
cloudflare cache on after save (i.e. AddStylesheetPost, AddTemplatePost and so
on.). But when the old stylesheet is purged by the clear cache operation, I
don't know this.

Thanks,
Vmadmax

History

Comments
avatar
Date: 2018-02-14 17:39
Posted By: Robert Campbell (calguy1000)

Cache clear should never be triggered outside of the CMS.  There is already a
cli script, and a button to do it, and there are methods that clear the cache
automatically.
      
avatar
Date: 2018-03-11 11:34
Posted By: Max (vmadmax)

I don't want to clear the cache from cmsms.
I need a trigger when the cache were cleard. So I can clear the cache in
cloudfront with their API.

Clear the cache from CMSMS with the button -> trigger -> API call to cloudflare
to clear the cache
      
Updates

Updated: 2018-02-14 17:39
resolution_id: => 8