Web Analytics Made Easy -
StatCounter How can I change expires headers for google analytics? - CodingForum

Announcement

Collapse
No announcement yet.

How can I change expires headers for google analytics?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I change expires headers for google analytics?

    Hi,

    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
    Web Development Company
    BEST MAGENTO 2 HOSTING
    Magento Development
    WordPress Development
    TOP 10 MAGENTO 2 EXTENSIONS

  • #2
    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.
    "Tango says double quotes with a single ( ' ) quote in the middle"
    '$Name says single quotes with a double ( " ) quote in the middle'
    "Tango says double quotes ( \" ) must escape a double quote"
    '$Name single quotes ( \' ) must escape a single quote'

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎