• Resolved arachon

    (@arachon)


    Hi,

    we are using v1.3.1 and love this plugin πŸ™‚

    Unfortunately I have the following issue:

    Settings:
    Cache Expiry: 0
    Clear the complete cache if a new post has been published – DISABLED
    Clear the complete cache if a new comment has been posted – DISABLED

    Every time I amend/edit a page the complete cache is deleted (i.e. all static files in /cache/cache-enabler/ are gone). This also makes the button “Clear URL cache” in the Preview obsolete…

    From my point of view the cache should not be deleted at all in case the above settings are disabled. The cache should only be deleted when clicking the “Clear Cache” (complete cache) or “Clear URL cache” (single page) button…

    Could you please check ?

    Thank you !

    Greetz
    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • When you’re editing a page or post do you have the Clear cache option set to “Page specific” or “Completely”. Having it set to completely would also clear the complete cache so you may need to change it to page specific.

    Thread Starter arachon

    (@arachon)

    Thanks for the ultra-quick response πŸ™‚

    Seems I have missed that option – it works for most of the pags now, but one small issue still exists:

    We are using the WPML plugin for different language versions of our WP install.

    The permalink structure is like this:
    http://www.example.net/ -> Main (English) home page
    http://www.example.net/de/ -> German home page
    http://www.example.net/de/xyz/ -> some other German pages
    etc.

    If I edit the German home page all German pages in the cache are lost – instead of only the home page:

    WRONG: delete /de/* + /de/ from cache
    CORRECT: delete /de/index.html + /de/index.html.gz from cache

    Could you please check ?

    Thanks a lot !

    Greetz
    Chris

    Do you have the same option selected for your home page to delete cache on a Page Specific basis?

    Thread Starter arachon

    (@arachon)

    Yes, “Clear cache: Page specific” is also enabled for the homepage (otherwise all files would be deleted from the cache).

    At the moment, editing the DE home page deletes all pages of that specific hierarchy level, for example:
    – /
    – /blog/
    – /contact-us/
    – /de/
    – /de/abc/
    – /de/abc/123/
    – /de/abc/234/
    – /de/abc/sub/xyz

    Editing the /de/ homepage deletes all files at /de/ level (=> /de/* and /de/) instead of /de/ only. It leaves the other files (main home page / plus /blog/ plus /contact-us/) in other directories in the cache (which is correct)…

    At the moment there is no way around this but I will make a note with the developers.

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

The topic ‘Single Page Edited – Full Cache Deleted’ is closed to new replies.