Forum Moderators: phranque
If you want to prevent this from happening, you have to configure your server to do so.
# Set up Expires and Cache Control headers
ExpiresActive On
# Set http header to expire everything 2 hours from last access, set must-revalidate
ExpiresDefault A7200
# Apply a customized Cache-Control header to frequently-updated files
Header unset Cache-Control:
Header append Cache-Control: "no-cache, must-revalidate"
See Apache mod_headers and mod_expires.
Jim
./configure --enable-so --enable-headers --enable-expires
But the modules do not appear in the modules folder and therefore can't be loaded? What am I doing wrong? Any help is very much appreciated!
./configure --enable-so --enable-ssl --enable-mods-shared=expires
Now, can someone tell me why this worked and generated mod_expires.so but using --enable-expires does not? I am very confused, and again any help is appreciated.