MySQL Caching
To make queries faster to respond is to use caching, a cache
stores frequently used data in a place that is local where is can
be accessed faster. Cached data can be stored either on a
computers local hard disk or in the computers internal memory.
For example a web browser stores text, images and other objects
of recently viewed web pages locally on your hard drive, thus the
next time you visit the web and the information is still the
same, the browser will retrieve the text, image, etc from the
local hard disk instead of having to go out on the internet to
get them which is slower. This means that the first time you
retrieve data it will always be slower than when you retrieve it
the second time as the data will be cached.
- getting the text, picture, etc from the internet is the slowest way to get that information and takes the longest for the web page to load
- getting the text, …