Selective purge of CF cache
-
I’m using
PhastPress
withwp-cloudflare-page-cache
. Need to tweak a single js file, but can’t figure out how to make CF to purge it from live.The direct url should look something like:
https://www.domain.com/wp-content/themes/flatsome-child/assets/gp.ywcp.mods.js?ver=210805-163058
However, PhastPress does an inline optimization that doesn’t seem like plain html:
<script data-phast-original-src="https://www.domain.com/wp-content/themes/flatsome-child/assets/gp.ywcp.mods.js?ver=210805-163058" data-phast-params='{"ref":"fbR5D0Vw9Hk"}' type="text/phast" id="gp-ywcp-mods-js"></script>
My cache is quite large, and clearing everything everytime I need to make such a tweak is overkill. How can I purge a single file effectively from my site and CF?
Thanks.
- The topic ‘Selective purge of CF cache’ is closed to new replies.