php - update memcache content -
is possible update memcached content.(i using php memcached)
this current work flow:
- first retrieved content through db
- second time, same request, cache
- whenever action happens(i.e favourite links), flush cache , results db
is possible updated content cache
(if 1 record deleted, remove record cache , display cache content)
never attempt flush memcache
instead have single version value or such read before page fetched memcached version concatenated name of page way can both prefill cache putting new version before changing version read deliverers version can placed in memcache value fetched database if isn't present
this rough summary of the secret memcached
Comments
Post a Comment