Using memcached on only part of PHP website

I have a website I am building using PHP and mysql and want to integrate memcached into the site.

However I was only thinking about adding it to certain pieces (such as queries that look for the amount of products and prices in the store, or the users information).

Would this be wise or would it be better to add memcached to all sql queries?

Any help would be appreciated.

Answers


I decided to only cache important parts of my application that were used the most after looking around here for important information and here for sessions


Need Your Help

Android: Duplicating of fragments when using Support Fragment Manager

android android-activity lifecycle fragment android-lifecycle

I have a very weird issue with fragments. I use the newest support library. I also use similar code as is used by Google in their IOSCHED project

Why can't I use Template Toolkit?

perl iis template-toolkit activestate

I am trying to use TemplateToolkit instead of good ole' variable interpolation and my server is giving me a lot of grief. Here are the errors I am getting: