I need a help for caching web pages.
My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on users' actions and database is updated (I guess this wouldn't be a problem in any cases since it only does INSERT instead of SELECT).
I want make the site faster by using caching techniques. I know that if I do it wrong my site will show old content from cache.
Is tehere any example for me to use or to understand how I should do it?
Thanks in advance