External Expires Headers on Shared Hosting

wordpress

#1

Wordpress 3.5 on a shared hosting.
http://low.li
Using W3 Total Cache Plugin
Settings and Server and Module resources set pretty much as default.

I use cloudfront for CDN.
However, some of my external calls (facebook like, google fonts, etc.) are not compressed or have no expires headers.

Since I don’t control google, linked-in, etc., I’m tempted to believe the expires headers cannot be tweaked by me. However, I’m not so sure, given the nature of CDN. Is it possible to affect the expires headers for these static components?

Chris

Grade F on Add Expires headers

There are 25 static components without a far-future expiration date.

(2012/12/11) http://fonts.googleapis.com/css?...
(2012/12/12) https://apis.google.com/js/plusone.js
(no expires) http://platform.linkedin.com/js/nonSecureAnonymousFramework?...
(2012/12/12) http://www.google-analytics.com/ga.js
(2012/12/12) https://platform.linkedin.com/in.js?...
(2012/12/12) https://platform.twitter.com/widgets.js?...
(no expires) http://encode.qrtool.de/encode?...
(2012/12/12) http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?...
(2012/12/12) http://0.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?...
(2012/12/12) http://cdn.api.twitter.com/1/urls/count.json?...
(no expires) http://p.twitter.com/t.gif?...
(2012/12/12) http://cdn.api.twitter.com/1/urls/count.json?...
(no expires) http://p.twitter.com/t.gif?...
(2012/12/12) http://cdn.api.twitter.com/1/urls/count.json?...
(no expires) http://p.twitter.com/t.gif?...
(2012/12/12) http://cdn.api.twitter.com/1/urls/count.json?...
(no expires) http://p.twitter.com/t.gif?...
(2012/12/12) http://cdn.api.twitter.com/1/urls/count.json?...
(no expires) http://p.twitter.com/t.gif?...
(2000/4/19) http://www.google-analytics.com/__utm.gif?...
(no expires) http://www.linkedin.com/countserv/count/share?...
(no expires) http://www.linkedin.com/countserv/count/share?...
(no expires) http://www.linkedin.com/countserv/count/share?...
(no expires) http://www.linkedin.com/countserv/count/share?...
(no expires) http://www.linkedin.com/countserv/count/share?...

Grade F on Reduce DNS lookups

The components are split over more than 4 domains

low.li: 8 components, 113.8K (9.5K GZip)
assets.low.li: 23 components, 444.6K (66.6K GZip)
fonts.googleapis.com: 1 component, 0.8K (0.3K GZip)
themes.googleusercontent.com: 3 components, 105.2K
apis.google.com: 2 components, 96.2K (35.2K GZip)
platform.linkedin.com: 2 components, 155.0K (45.0K GZip)
www.google-analytics.com: 2 components, 37.3K (14.9K GZip)
platform.twitter.com: 6 components, 362.8K (138.6K GZip)
static.licdn.com: 1 component, 36.3K (36.3K GZip)
encode.qrtool.de: 1 component, 0.9K
0.gravatar.com: 4 components, 1.2K
wp.low.li: 1 component, 13.4K (4.4K GZip)
plusone.google.com: 8 components, 246.9K (87.8K GZip)
ssl.gstatic.com: 1 component, 21.3K
www.facebook.com: 9 components, 19.2K (17.1K GZip)
fbstatic-a.akamaihd.net: 2 components, 111.5K (35.3K GZip)
cdn.api.twitter.com: 5 components, 0.5K (0.6K GZip)
p.twitter.com: 5 components, 0.2K
s-static.ak.fbcdn.net: 1 component, 1.5K
www.linkedin.com: 5 components, 0.7K (0.7K GZip)

#2

No, there is no way to control the Expires header on content that you don’t serve.


#3

[quote=“Andrew_F, post:2, topic:58795”]
No, there is no way to control the Expires header on content that you don’t serve.
[/quote]I figured as much. Thank you. :smiley:


#4

My favorite part of those errors is when Google tells me that Google’s expires aren’t set right. :wink: