• Resolved alduinwf

    (@alduinwf)


    Hello,

    I am looking for a cache plugin, obviously, and I wonder if WP Fastest Cache can help me with 3 little problems.

    1. I would need to dismiss a cache on occasion from the outside. Let’s say there is a link on a website that might become invalidated. The invalidation happens outside this WP installation. So the second it happens, the page’s cache must be purged so it will be re-generated on next request. Is that possible? Is there like a purge_cache($post_id) function?

    2. Can I specify like a timeout for one specific page (or class of pages, say home page and archive pages) that determines how long or short the cache shall last? For example, regarding #1: When said invalidation happens, the post should not appear on the home page any more (and shall get an additional CSS class on archive pages), so now I don’t want to invalidate countless archive pages, I’d rather have the system dismiss it automatically. Like after 2 minutes or something. Is that possible?

    3. Can I hook into the plugin? I could use some custom PHP code that does some things with the rendered content which CANNOT be cached. It’s not very work-intensive but it must be done. Like a hook that reads the cached html file, let’s me fiddle with it, and returns my modified version.

    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalidation, timeouts and Hooks’ is closed to new replies.