- Caching to speed up dynamically generated sites.
- Itâs reduce the traffic
- One way of caching,It is simply storing the results of your database queries in files. Opening a file and unserializing is often a lot faster than doing an expensive SELECT query with multiple joins.
- If you have a web application which has to live on different webservers (loadbalancing), you have to use memcache for distributed caching. If not, just stick to APC and its cache.
It writes flat files to the filesystem.
it is the slowest cache engine , becz it stores everything in disk (server)
However, since disk storage is often quite cheap, storing large objects
Memcache/MemcacheD is not an Opcode Cacher. It is a distributed memory caching system. It does not improve the speed/performance of your PHP code. It can be used to store data only.
Memcache is better because it uses memory (RAM) to cache things instead of the file system.
APC, EAccelerator, XCache and the others are non distributed, meaning you can only store data
on the local web-server. However all of these are opcode cachers and can improve the
performance. APC - The fastest method possible. But it stores everything in RAM