View Full Version : How can I change expires headers for google analytics?

08-27-2011, 11:45 AM

I try to site speed up for my client site and for that I need to set Add Expires headers.

I almost done all things for site speed up and I set expires headers for all my js, images favicon etc.

But here I can't set expires headers for google analytics code and when I check Yslow its shows me like below.

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

* (2011/8/26) http://www.google-analytics.com/ga.js
* (2011/8/26) http://pagead2.googlesyndication.com/pagead/show_ads.js

Any one has idea how can I change Expires headers for above both js file.
Please help me to solve this issues or provide guide line how can I do that.

Thanks in advance

08-27-2011, 01:26 PM
Are you talking about the request or reply headers? If you're talking about the reply headers from googles server there is nothing you can do about it.