You may also want to consider adding an expiration on the server so you can send a 304 header for resources that have not changed. For example, your server does not need to send the same picture over and over again - just tell the browser that the last copy is still OK.
GEMCC
ASKER
Hello,
I got everything installed and working and it sped things up a lot!
One thing I am not sure about, if I understand correctly, step 4 is a config for WordPress. I am not using WP so where would I place this code/script?
Have a great weekend,
Don
Mohamed Magdy
Step 4 can be made with any type of websites that's why I copied it over to you as it will cache CSS, images, JS, icons and PDF.
I created the .htacces file and added the code you provided, but still the same issue.
Please advise.
Have a great day,
Don
Mohamed Magdy
When you open Leverage browser caching in PageSpeed, what URLs are you seeing? Are they external links? because if their were external links you can't cache them.
The code I provided will cache local files but it won't cache external links.
You can find the result of PageSpeed on my website in an attached image, you can find in it that the un cached links are all external. 2015-05-07-11-30-04.png
Mohamed Magdy
FYI, external links are cached from the external source and it's not possible to cache them until you serve them locally.