I have been towards caching my website. The problem is im not sure if i grasp the total aspect of caching.
Lets say I have a user profile that people can comment( like facebook ). Now how do you go by caching that because users may leave comments or upload new pictures etc. Wont that page be cache already so you wont see any updates?
I have basically a template setup ( i use smarty ) and i have user pages. So my template file is always changing. Was this a bad approach? should i instead create their own template files? But still how do i go by caching when pages are always changing every second or so on so i can improve the optimization of results?