: Page caching Is not working This is my htaccess file.I also embedded webcaching code inside it. DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{HTTP_HOST}
This is my htaccess file.I also embedded webcaching code inside it.
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On #RewriteBase /
RewriteCond %{HTTP_HOST} ^www.decodinghinduism.in
RewriteRule (.*) decodinghinduism.in/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=[CO]&%{QUERY_STRING} [L]
</IfModule>
Webcaching code
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from **.**.
But Webcaching is not working ,Analytical result is here.Please help me.
More posts by @Rambettina238
1 Comments
Sorted by latest first Latest Oldest Best
You might want to check with a different tool, looks like caching is actually working.
Result from Google Page Speed insights
You can also check with the Page speed browser extension and Yahoo's Yslow Extension
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.