php - Utilising minimal MySQL queries when building a database-driven user system -


i'm building user system site using php , mysql datastore, don't particularly want run mysql query every time user logs in i'm thinking using sort of caching solution (such memcache) store user data.

my question is, safe , practical practice employ? , if not, how can reduce mysql queries as possible?

what amount of concurrent user site needs handle? in opinion overhead kind of caching redundant...

if u'r still go memcache, concerning security , remember memcache application session object application; considered secure long users not have access it.

other ways of reducing mysql overhead setting commonly-needed information in session variable after login.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -