maciejplonski wrote:
Hello,
I've got memcached installed on my VPS and also I've got there
blogging platform. I'm caching whole pages in memcached and serving
them by nginx. When one user posts sth, I need to flush whole
memcached and delete from cache also other cached blogs.
Is it possible to divide memcached to many 'blogs' and flush only
cache from one blog so other blogs will be still served from
memcached? This blogging platform is written in PHP.
If you know when and what you need to delete, why not just update the
cache instead and not break anything else? Or, keep track of an update
count somewhere that you use in a key prefix so when a new post happens
you just stop using the old copies and they'll age out naturally.
--
Les Mikesell
[email protected]