memcached - Implementation of Drupal Memcache in custom modules -


I am developing a lot of custom modules for my web application and need to implement memcache with it. I have installed and enabled the Memcatch module in my Dupl installation but now I have to see how cached data is.

Is there any additional work to cache my module specific data? Apart from this, what is the exact function of the caching system in Drupal?

Regards,

Once overrides the set-up memoryk modules , So your module does not need to be aware of the memcache.

Most other modules are needed in comparison to this memcache module.

This is important for you to take the necessary comprehensive steps to use this software.

  1. Install memcached binaries on your server How to install a memcache on the Daisson map or install a memkache on OSX
  2. Install PECL Memcache Exploration for PPL.
  3. Set memcache.hash_strategy = "Compatible" in php.ini.
  4. Put your site in offline mode.
  5. Download and install the module module.
  6. If you are already running a memkase module, run update.php.
  7. Apply DRUPAL-5-cache-serialize.patch that comes with modules for your Drupal installation.
  8. Start memcached of at least one instance on your server.
  9. To configure the server, cluster and compartment, edit settings.php, which is to use a memcatch.
    1. To edit settings.php, either add memcache.inc or memcache.db.inc. For example, $ conf ['cache_inc'] = 'sites / all / modules / memcache / memcache.db.inc';
    2. Bring your site back online. Once installed and running, you belive telnet on your server with memcache instances (11211). Default port) and type get * cache-key * to see if your data is cached or not.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -