MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Getting an F at Cache static content!

WebPagetest Forums

Full Version: Getting an F at Cache static content!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have tried adding the following code to fix this error to my .htaccess, but it doesn't seem to fix anything.

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
## EXPIRES CACHING ##

I am using wp supercache and mod rewrite is installed on the server (using hostgator). I am also using maxcdn!

When looking at the test result, the problem seems to be that a lot of .js files and images doesn't have any expiration date set..

How can I fix this?
Do you have a link to your test result? There are a bunch of different mime types that get used by javascript and it's possible that your server is serving something other than text/x-javascript
(10-24-2012 04:52 AM)pmeenan Wrote: [ -> ]Do you have a link to your test result? There are a bunch of different mime types that get used by javascript and it's possible that your server is serving something other than text/x-javascript

I actually forgot to clear the cache from maxcdn, now I am scoring a C. It's only twitter and facebook stuff left, but I guess those are hard to fix?

Here is my test. Is there anything more I can improve?
If you can, check you embed method for the various different social networks. Looks like all of them are downloading multiple times, for each button with each story. Most of them should have a way to only load once but target multiple buttons on the page.
Reference URL's