Question: I've added the cache directives to my httpd.conf file but cannot discover how to verify it's actually caching the pages and serving them up. How can I verify this?

I added the cache directives at the server config level (not using VirtualHost) as:

```
CacheEnable disk /
CacheRoot /var/cache
CacheDefaultExpire 3600

```

Answer: 
You can simply write a quick php page. If you refresh the page the time in the upper right should not grow for another 300 seconds.

```
<?php
header("Cache-Control: must-revalidate, max-age=300");
header("Vary: Accept-Encoding");
echo time()."<br>";
?>

```
Please try with below settings.

```
<IfModule mod_cache.c>
LoadModule cache_disk_module /usr/lib/apache2/modules/mod_cache_disk.so
<IfModule mod_disk_cache.c>
CacheDefaultExpire 3600
CacheEnable disk /
CacheRoot "/path/to/cache/folder/"
CacheDirLevels 2
CacheDirLength 1
</IfModule>
</IfModule>

```