How to use browser caching
2 posts
• Page 1 of 1
How to use browser caching
The .htaccess file looks like this below. I've never really seen an .htaccess that looks like this.
Not sure what language or what code base it's using. What I would like to do is caching that looks like this:
http://gtmetrix.com/leverage-browser-caching.html
http://i.imgur.com/WEQuSR7.png
Not sure what language or what code base it's using. What I would like to do is caching that looks like this:
http://gtmetrix.com/leverage-browser-caching.html
http://i.imgur.com/WEQuSR7.png
- Code: Select all
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.72
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 20
RewriteBase
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule ^/httpd(?:\.ini|\.parse\.errors)$ / [NC,F,O]
# Block external access to the Helper ISAPI Extension
RewriteRule ^.*\.isrwhlp$ / [NC,F,O]
# Fix missing slash char on folders
RewriteRule ^([^.?]+[^.?/])$ $1/ [R,L]
RewriteRule /default.aspx / [r=301]
##################
# Custom Rules #
##################
# product link, these rules handle links like: http://www.ulla.com/FriendlyUrlName/p/111
RewriteRule /([^/]*)/p/([^/]*)/ /Product\.aspx\?p=$2 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8&$9=$10 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8&$9=$10 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/ /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [I,QSA]
RewriteRule /([^/]*)/p/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/(.*) /Product\.aspx\?p=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [I,QSA]
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: How to use browser caching
ISAPI_Rewrite does not support Browser Caching. HeliconApe does, please look at http://www.helicontech.com/ape/doc/mod_ ... iresActive
We have quite a few article on our web-site. Just enter "caching" in the search bar
Regards
We have quite a few article on our web-site. Just enter "caching" in the search bar
Regards
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests