Mobile app version of vmapp.org
Login or Join
Rambettina238

: 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}

@Rambettina238

Posted in: #Cache #Htaccess

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina238

1 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany637

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme