php - update memcache content -


is possible update memcached content.(i using php memcached)

this current work flow:

  1. first retrieved content through db
  2. second time, same request, cache
  3. 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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -