Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    sorry to reactivate this thread, but I still haven’t figured out how to make sure that only the edited page/post gets cleared of the cache, and not all the pages/post.

    Donncha, do you have an idea on this issue ?

    Best regards
    Regis

    Thank you for your answer, Donncha,

    below is an extract from the debug log, when I edit a specific page.

    It seems that no matter what page or article I edit, supercache clears the root of the site (and all pages/articles). Maybe because of my site conf: pages are organized with a static page as “/”, a few main static pages below root, and a lot of child pages under each.
    Articles are in a specific category, with a custom permalink to call them.

    (After the clear, sometimes the pages still appear in the cache list, all bearing the “.needs-rebuild” suffix, and sometimes it seems they have been deleted -maybe by the automatic preload, if it launches at the same time ? – )

    ==> what I would like, is to only clear the edited page / article, and not the folders above (and for the specific page assigned to “/”, only clear that page but not all the site’s content, that is below root).
    Do you have an idea how to achieve that ?

    ==> If possible, it would be great if the new version of the cleared page / article could be automatically pre-loaded. Is it possible with the current design of the plugin ?

    My best regards, thank you for your work and being in the forums,
    Regis.
    (Do you plan on hosting your dev code on a git repo like github ? that would be great).

    —————————————————————

    05:00:52 /wp-admin/post.php Clearing cache for post 537 on post edit.
    05:00:52 /wp-admin/post.php supercache dir: /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/
    05:00:52 /wp-admin/post.php wp_cache_post_id_gc post_id: 537 http://<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires clearing cache in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/.
    05:00:52 /wp-admin/post.php prune_super_cache: wp_cache_rebuild_or_delete( /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/index.html )
    05:00:53 /wp-admin/post.php rebuild_or_gc: rename to /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/index.html.needs-rebuild
    05:00:53 /wp-admin/post.php prune_super_cache: wp_cache_rebuild_or_delete( /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/index.html.gz )
    05:00:53 /wp-admin/post.php rebuild_or_gc: rename to /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires/index.html.gz.needs-rebuild
    05:00:53 /wp-admin/post.php wp_cache_post_id_gc clearing cache in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-de-theatre-paris/horaires//page/.
    05:00:53 /wp-admin/post.php wp_cache_post_id_gc clearing cache in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>//page/.
    05:00:53 /wp-admin/post.php Post change: deleting cache files in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/
    05:00:53 /wp-admin/post.php Post change: deleting page_on_front and page_for_posts pages.
    05:00:53 /wp-admin/post.php Post change: page_on_front 535
    05:00:53 /wp-admin/post.php supercache dir: /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/
    05:00:53 /wp-admin/post.php wp_cache_post_id_gc post_id: 535 http://<HIDDEN_URLNAME>/ clearing cache in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/.
    05:00:53 /wp-admin/post.php wp_cache_post_id_gc clearing cached index files in /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/.
    05:00:53 /wp-admin/post.php prune_super_cache: wp_cache_rebuild_or_delete( /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/contacts/index.html )
    05:00:53 /wp-admin/post.php rebuild_or_gc: rename to /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/contacts/index.html.needs-rebuild
    05:00:53 /wp-admin/post.php prune_super_cache: wp_cache_rebuild_or_delete( /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/contacts/index.html.gz )
    05:00:53 /wp-admin/post.php rebuild_or_gc: rename to /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/contacts/index.html.gz.needs-rebuild
    05:00:53 /wp-admin/post.php gc: could not delete /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/contacts as it’s not empty: index.html.gz.needs-rebuild
    05:00:53 /wp-admin/post.php prune_super_cache: wp_cache_rebuild_or_delete( /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-theatre-enfants-paris/index.html )
    05:00:53 /wp-admin/post.php rebuild_or_gc: rename to /<HIDDEN_PATH>/public_html/<HIDDEN_URLNAME>/wp-content/cache/supercache/<HIDDEN_URLNAME>/cours-theatre-enfants-paris/index.html.needs-rebuild
    (etc.)

    Hello, thanks for that great plugin !

    I experience the same problem: when I update a page, the cache is entirely cleared (although the advanced option “Clear all cache files when a post or page is published or updated” is disabled).

    Is it the normal behavior ? It’s inconvenient for me: I wish to use the preload mechanism, but as the cache is cleared when I update a post, it stays almost empty until the next preload, and pages are only cached when requested by visitors.

    If it’s not normal, I can generate a debug log, what is the prefered way to submit it ?

    Best regards,
    Regis.
    (using super cache v1.1 on a WP 3.3.2)

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