php - When to store data to memcached -


i storing result of each query memcached , give expired long time let 1 year. create each crud create, update, delete operation re-cache each request.

in other words use memcached first layer , database second layer provide data.

am using memcached right way or memcached temporary storage? in other words don't store each result of query long time because bigger later.


Comments

Popular posts from this blog

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -