[Drupal] Integrating memcache with Drupal - How to check whether memcache is enabled properly for the site?

| | 1 min read

Memcache is used for increasing the speed of dynamic web applications by loading the web page faster. Memcache is used to reduce the number of hits to the database by loading the page from the memory. Memcache works for all types of users (both anonymous and admin) since it caches data like sessions, forms, blocks etc in RAM.

How to check whether memcache is enabled?

If memcache is enabled then the memcache statistics will be displayed at the bottom of the page for admin. It can be verified by checking the system configuration page.
Admin >> Config >> System >> Memcache

memcache.png

The memcache status report can be checked in the memcache statistic page under the Reports menu.
Admin >> Reports >> Memcache

If memcache is working the page will display the statistics report including the number of hits and misses. If memcache is not working then an error message will be displayed in the page.