I'm using site wide caching with memcached as the backend. I would like to invalidate pages in the cache when the underlying database object changes.
If the page name changes then I would invalidate the whole cache (as it affects navigation on every page. Clumsy but sufficient for my needs.
If just the page content changes then I'd like to invalidate the cache of just that page.
Is there an easy way to do this?