Bugs with auto-purge?
-
Hello Saumya
I have a couple of queries about how the auto-purge feature works:
1) Currently, it looks as if both editing and saving in Elementor would trigger a purge, like this:
[2023-02-15 05:54:58] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 5450 and related contents – Fired action: elementor/editor/after_save
[2023-02-15 05:55:00] [cache_controller::purge_cache_on_elementor_ajax_update] Purge Cloudflare cache for only post 5450 – Fired action: elementor/ajax/register_actions
Would it be possible for the plugin to use only the first hook (https://developers.elementor.com/docs/hooks/php/#action-hooks), ie the ‘after_save’?
2) Even when ‘Purge cache for related pages only’ is unchecked, simply editing (and not saving) a page in Elementor would still trigger a purge through ‘elementor/ajax/register_actions’. Is this the expected behaviour?
3) After I set ‘SWCFPC_HOME_PAGE_SHOWS_POSTS’ to false in wp-config and told the plugin not to cache ‘Feeds (is_feed)’, it still regularly preloads /page/2 /page/3 and /feed even though we don’t actually have these pages. Am I using the php constant correctly?
I would really appreciate your help.
- The topic ‘Bugs with auto-purge?’ is closed to new replies.