• Resolved simplistics.ca

    (@simplisticsca)


    I was looking through the documentation which indicates that the cache should clear when a post is edited or saved. Looking through the source code of the plugin, it looks like this is not actually the case. It looks like both the edit_post and save_post actions are commented out.

    From a quick look, the plugin relies on the cache expiring over time or the user manually clearing the cache. Is there any reason the cache is not clearing on post save/edit, as indicated by the documentation? For now, I have written a script to manually clear the cache on save/edit of a post, but it would be good to know if this will be resolved so I can remove my script.

    Documentation:
    https://docs.litespeedtech.com/lscache/lscwp/api/#customized-smart-purging

    Source:
    /src/purge.cls.php @ Line 51

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Automatic clearing when post edited/saved’ is closed to new replies.