Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s only out of the box.

    let’s say purge at certain page when another page is updated

    That gets weird depending on how the parent page is updated. Are these plugins or a custom post type? It’s possible and I may be able to fold it in…

    Thread Starter Compute

    (@compute)

    Yes custom post types. But connection via. posts 2 posts so when one connection updates, the other one should get updated too.

    Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s the connection that’s weird.

    CPTs will be purged when they’re updated, just like a post or page. How are the posts connected though?

    Thread Starter Compute

    (@compute)

    This is only an example. But lets say you have an author custom post type and it have a connection to posts.

    In the bottom of every post a description of all connected authors will show. If one of the authors description is getting updated (from the author post type) then the post connection will not get purged.

    If you could either purge those posts yourself after an author update or include a filter inside the plugins which includes ‘extra’ purge pages this could solve the problem.

    Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Well.. right so the issue is that without knowing how you have this connection, I can’t figure out how to account for it in the cache.

    It’s sort of like how a theme can put the author information below a post. If you change your author info, that doesn’t flush the cache (there’s no real way to check if it’s necessary).

    Basically the idea’s a bit too abstract for me to visualize well enough to give you a good answer beyond “Maybe, but probably not.”

    Thread Starter Compute

    (@compute)

    Okay, thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use this plugin to programmatically purge’ is closed to new replies.