Memcache is a high-performance distributed memory object cache system that can store data in various formats, including images, videos, files, and database retrieval results. 1. Introduction to Memcache
Memcache is a high-performance distributed memory object cache system that can store data in various formats, including images, videos, files, and database retrieval results.
Memcache websites generally have a large traffic volume. to relieve the pressure on the database, apsaradb for Memcache is used as a cache area and some information is stored in the memory, allowing quick access at the front end.
2. install Memcache Win32
(1 ):
Http://www.jehiah.cz/projects/memcached-win32/
(2) installation steps:
Step 1 extract the compressed package to any Directory, such as c: \ mem. The directory structure is as follows:
(3) test memcache in PHP
Connect ('1970. 0.0.1 ', 127) or die ("connection failed"); $ mem-> getVersion ();?>
For more articles on PHP MemCached advanced cache configuration graphic tutorial, refer to PHP Chinese network!