Quote:
Originally Posted by ShocK
I thought you should always have this at the start of your code -
RewriteEngine On
RewriteBase /
|
I've edit my code and using the following and it's able to run:
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon A2592000
# Images
ExpiresByType image/gif A2592000
# CSS
ExpiresByType text/css A86400
# Javascript
ExpiresByType text/javascript A86400
#
<FilesMatch "\.(gif|jpe?g|png|ico|css|js|swf)$">
Header set Cache-Control "public"
</FilesMatch>
</IfModule>
Just a question to ask, when i test the speed load of my website which 000webhost is hosting my website, i don't have issue with leverage browser caching.
But when i test the speed load of my website which run on another server, the test sometime shows that my leverage browser caching is not optimize, sometime it is.
Is this the server issue or what? Anyone can answer me?
Simply Into Mortgage
www.simplymortgage.com.sg
Free Cash Rebate when
Finance/ Refinance Home Loan Through Simply Mortgage