Mobile app version of vmapp.org
Login or Join
Gretchen104

: Why my http response headers showing browser caching not working? I've implemented browser caching on my Apache server site. Running Modpagespeed on it However when I see the http response headers

@Gretchen104

Posted in: #Apache #WebHosting

I've implemented browser caching on my Apache server site. Running Modpagespeed on it

However when I see the http response headers it shows following:

Cache-Control: max-age=0, no-cache


Does that indicate browser caching is off?

I have the following code in htccess. Modexpire module for apache is enabled

<IfModule mod_expires.c>
# Enable expirations.
ExpiresActive On

ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType text/js "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"

ExpiresDefault "access 1 month"

<FilesMatch .php$>
ExpiresActive Off
</FilesMatch>
</IfModule>

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme