• Akki

    (@luckyankit)


    Hello,

    Can you please please include an option to clear the cache of a single post/custom posts in the admin bar? Your plugin is super awesome, the best so far and I so badly need this option. At present, I have to clear all pages cache which is quite troublesome. Can you please share any hack to do so at present?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    Currently it is not implemented, and there is no way to do it easily. PageSpeed Ninja uses file wp-content/plugins/psn-pagespeed-ninja/cache/pagecache.stamp to automatically invalidate cached pages store before its modification timestamp, so it is sufficient to execute

    touch ./wp-content/plugins/psn-pagespeed-ninja/cache/pagecache.stamp

    in website root to trigger rebuilding of older caches (in latest WordPress versions PageSpeed Ninja updates pagecache.stamp automatically for many cases including editing of posts, etc.).

    But we will try to add a feature to target specific posts/pages in next releases.

    • This reply was modified 6 years, 7 months ago by Denis Ryabov.
    Thread Starter Akki

    (@luckyankit)

    Isn’t removing timestamp or removing page cache from troubleshooting section same thing as the browser is completely loading the page as new?

    Also, I am eagerly awaiting the next update now ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Any option to Clear one page/post Cache?’ is closed to new replies.