Hi all,
I just test my website for Page Speed using Yahoo extension 'YSlow'.
I was shocked when the rating for my website was 'D' in YSlow.
Yslow, indicated that I need to add an expired header to my JavaScript file.
Quote:
no expires)
ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js
UnQuote:
I search on on apache.org where they explain quite some things on mod_expires but for some reason my brains are not working today.
I tried the following in a .htaccess file
Code:
ExpiresActive On
ExpiresByType text/js A99592000
But when i re-tested my website using Yslow I still keeps showing me the same 'D' grade.
Sorry if this sounds stupid, but I have no idea where to start.
By the way i am running on wamp and I enabled: expires_module and header_module.
Can any one help me to how to write an expired header for external files.
Thanks in advance.