A way to auto clear a page's cache based on some conditional statements?

// found another way around it. discard this post.