Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is mem_cache ? How do you put a database query into that ?

Answers were Sorted based on User's Feedback



What is mem_cache ? How do you put a database query into that ?..

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

What is mem_cache ? How do you put a database query into that ?..

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

What is mem_cache ? How do you put a database query into that ?..

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

What is mem_cache ? How do you put a database query into that ?..

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

What is mem_cache ? How do you put a database query into that ?..

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

Post New Answer

More PHP Interview Questions

What is sql injection in php?

0 Answers  


Explain some most commonly use string functions in php?

0 Answers  


What is the tags in PHP is not a valid way to begin and end a PHP code block?

0 Answers  


Tell me what is htaccess? Why do we use this and where?

0 Answers  


Does php support function overloading?

0 Answers  


What is beforeRender() used?

0 Answers   HCL,


What are global variables in php?

0 Answers  


How to create a table to store files?

0 Answers  


What is the role of php.ini file?

0 Answers  


How can I convert ereg expressions to preg in php?

0 Answers  


what is Abbreviavion of PHP?

6 Answers  


HOW we can use css

3 Answers   ConSim, IPsoft,


Categories