Ipstenu / varnish-http-purge

Proxy Cache Purge
Apache License 2.0
46 stars 47 forks source link

Purging all at customize_save_after #85

Closed soderlind closed 4 years ago

soderlind commented 5 years ago

Would it be stupid to do a varnish_http_purge_events_full on the customize_save_after event ?

Ipstenu commented 5 years ago

That's what gets triggered after you use customizer to save things? That sounds reasonable. It might thrash a little if you were changing a lot, but that wouldn't be a constant thing. Heck, that should probably go in the core plugin.

soderlind commented 5 years ago

My thought also, that it should be in core :)

Anyway, thank you for your quick answer, for now I'll add it using varnish_http_purge_events and varnish_http_purge_events_full