I read a few very good online resources that describe how exactly we can implement Memcache in Drupal 8. for e.g. this one
https://www.valuebound.com/resources/blog/configuring-memcache-drupal-8-to-reduce-database-load
At the Drupal end I have installed two new modules for Memcache:
- Memcached
- Memcached Storage
But, when trying to enable them it throws an error "PHP extension is required".
Also, getting this error "Unable to initialize module" when trying to install PHP extension using below command:
sudo apt install php-memcached