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

C# random value from dictionary and tuple -

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

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -