Current time: 12-15-2017, 06:56 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expires Headers + google-analytics.com/ga.js
07-15-2013, 05:15 PM (This post was last modified: 07-16-2013 09:26 AM by GHLSports.com.)
Post: #1
Expires Headers + google-analytics.com/ga.js
I get %89 score on my page http://www.ghlsports.com/, in the Expires Headers section with this comment

There is 1 static component without a far-future expiration date.

http://www.google-analytics.com/ga.js


Is their a method to fix this, I found this article

http://www.ehow.com/how_12179302_add-exp...ytics.html

Is this a good idea / bad idea any other recommendations
Find all posts by this user
Quote this message in a reply
07-16-2013, 11:35 PM
Post: #2
RE: Expires Headers + google-analytics.com/ga.js
Don't do it. Google Analytics is used across so much of the web that it is almost guaranteed to be in a user's cache even with a short expires.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-17-2013, 02:06 AM
Post: #3
RE: Expires Headers + google-analytics.com/ga.js
If you want to get a perfect score, than put it on your server and have it cached for as long as you want.

Create a cron job to always download the latest version from google Smile

Like Patrick said,
Don't do it.
Find all posts by this user
Quote this message in a reply
10-21-2014, 08:27 PM
Post: #4
RE: Expires Headers + google-analytics.com/ga.js
Our website get %84 score on my page http://www.pajasaapartments.com/ in google page speed and showing following error

http://www.google-analytics.com/ga.js missing expiry time


Suggest how to remove same .
Find all posts by this user
Quote this message in a reply
10-24-2014, 03:31 AM
Post: #5
RE: Expires Headers + google-analytics.com/ga.js
Don't worry about it, it's not in your control. As long as you are using the async analytics snippet you are fine. Optimize of the actual performance, not necessarily the scores.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)