Missing mod_cache from apache

Posted October 23, 2014 4.2k views

I just installed wordpress and was trying to optimize the apache server a little following the “How To Configure Content Caching Using Apache Modules On A VPS” guide. The problem is, when I try to edit the disk_cache.conf or mem_cache.conf, it’s empty(doesn’t exist).
I use ubuntu and installed wordpress via one click install app.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
by Justin Ellingwood
Caching is a method of creating faster delivery of your most commonly accessed content. Apache has a number of different methods of caching content that take advantage of different aspects of the file system and of HTTP header information. This article will discuss different methods to cache your content to improve your site speed.

It looks like there have been a few changes since that article was written. As of Ubuntu 14.04 disk_cache.conf is now:


mod_mem_cache was removed from Apache 2.4 Looking at the official Apache upgrading guide:

These modules have been removed: mod_authn_default, mod_authz_default, mod_mem_cache. If you were using mod_mem_cache in 2.2, look at mod_cache_disk in 2.4.