PHP Classes

purpose?

Recommend this page to a friend!

      Easy MySQL Cache  >  All threads  >  purpose?  >  (Un) Subscribe thread alerts  
Subject:purpose?
Summary:why not use SQL_CACHE ?
Messages:3
Author:Richard Keizer
Date:2011-10-07 08:01:53
Update:2011-11-16 09:59:13
 

  1. purpose?   Reply   Report abuse  
Picture of Richard Keizer Richard Keizer - 2011-10-07 08:01:53
Can you explain why you should use your class instead of MYSQL's build-in one?

example:

SELECT SQL_CACHE id, name FROM customer;

-OR-

SELECT SQL_NO_CACHE id, name FROM customer;



  2. Re: purpose?   Reply   Report abuse  
Picture of Shubham Mathur Shubham Mathur - 2011-10-07 16:40:14 - In reply to message 1 from Richard Keizer
May be bcoz it provides time to store cache....

  3. Re: purpose?   Reply   Report abuse  
Picture of Muhamed Turkanovic Muhamed Turkanovic - 2011-11-16 09:59:13 - In reply to message 1 from Richard Keizer
With his class you can manually deal with the cached data and configure the time