View cache usage from Reids Cache account on Azure portal.
To view cache hits, enable memcache from Drupal admin, and configure memcache statistic to show at bottom of pages, check the hit/miss ratio. $conf = ‘sites/all/modules/memcache/memcache.inc’ $conf = array(‘localhost:’.getenv(“MEMCACHESHIM_PORT”) => ‘default’) To add the PHP extension, copy the downloaded php_memcache.dll to Download and install memcache module on your Drupal site ( ), and add configuration in Settings.php: Install PHP memcache extension (php_memcache.dll) for your website, (download memcache extension for windows from ) Note: Enable NON-SSL port 6379 from Redis Cache if SSL port 6380 is not supported by client library.ģ. First you need to create a Memcached service. However, Memcached is also available if desired and is fully supported. Enable Memcache shim from Redis Cache:įrom Azure management portal, add following app settings in CONFIGURE:Ĭopy REDIS_HOST, REDIS_KEY values from your Redis Cache subscription Web PaaS recommends using Redis for caching with Drupal 7 over Memcached, as Redis offers better performance when dealing with larger values as Drupal tends to produce.
If you find memcache client not supporting “Memcached Cloud” or Memcachier on Azure, here is a workaroundĢ. Memcache is commonly used with Drupal sites to improve performance. Use Redis Cache Memcache Option on Azure with Drupal 7