Prevent page caching of directory listings in Apache...

michaelsanford

Translator, Web Developer
I have Apache configured to use the files .header(.html) and .readme(.html) from the ReadMeName and HeaderName directives of httpd.conf

I'm using .header.html with
Code:
<HTML><HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>

I'm not 100% sure it's not caching, but it looks like it's working.

My question: is there a better, or a more standardized way, of preventing directory listing caching (like a directive in httpd.conf that I missed)?
 
Back
Top