What is mem_cache ? How do you put a database query into that ?
Answers were Sorted based on User's Feedback
Answer / salil
1. "memcached" is a high-performance, distributed memory
object caching system
2. "memcache" is a php module, which provides procedural and
object oriented interface to memcached server.
3. PHP Usage: ($Value can be the mysql result data array)
$CacheInstance = new Memcache;
$CacheInstance->addServer($Host,$Port);
// STORE
$CacheInstance->set($Key,$Value,MEMCACHE_COMPRESSED,$TTL);
// FETCH
$CacheInstance->get($Key);
// DELETE
$CacheInstance->delete($Key);
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / karthi
It acts as a support module for mod_cache and provides a
memory based storage manager. mod_mem_cache can be
configured to operate in two modes: caching open file
descriptors or caching objects in heap storage.
mod_mem_cache is most useful when used to cache locally
generated content or to cache backend server content for
mod_proxy
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / abinash grahacharya
mod_mem_cache is most useful when used to cache locally
generated content or to cache backend server content for
mod_proxy configured for ProxyPass
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abhilash
It acts as a support module for mod_cache and provides a
memory based storage manager. mod_mem_cache can be
configured to operate in two modes: caching open file
descriptors or caching objects in heap storage.
mod_mem_cache is most useful when used to cache locally
generated content or to cache backend server content for
mod_proxy
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sagar_joshi
Memcache module provides handy procedural and object
oriented interface to memcached, highly effective caching
daemon, which was especially designed to decrease database
load in dynamic web applications.
Is This Answer Correct ? | 0 Yes | 1 No |
What is constructor and destructor?
How to get number of elements in an array?
my english is not too good then what we apply for a php programer post
Explain mixed and callback functions?
Tell me how can we automatically escape incoming data?
Does php need html?
What does sign mean php?
Tell me what is the meaning of a final class and a final method?
How to get seconds from current date using date function ?
8 Answers Sarna Technologies, Satyam,
What is mysql in php?
How would you open a directory for reading in php?
What is the difference between static and dynamic websites?