How to set Caching for this files?

Posted in: Newsmag
Post count: 44

Google wants me to cache this files:
http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes)
http://pagead2.googlesyndication.com/pagead/osd.js (60 minutes)
http://www.google-analytics.com/analytics.js (2 hours)

Can somebody help me how to do this?

My regards, z

Post count: 44

and on mobile side: https://www.gstatic.com/swiffy/v7.1/runtime.js (50 minutes)

Post count: 9544

You can’t cache things hosted on other people’s websites.
So none of those things you mention can be cached.

Welcome to stupid Google PageSpeed Insights 😉

(They penalize you for their own sites in the “rating,” but not in the real world.)

I personally “tune” my sites, with the ads disabled.

Post count: 44

Thx Chris 🙂 That is great info to know.

Lately I have problem with google, because Google analytics says, that I don’t have tracking code installed. But the code is there! And Google Analytics by YOATS is also installed and connected. Now I am waiting if it will start working or not.

The site was previously hosted on blogger (3 months) and then I moved it to shared hosting. Since then (2 months now!) the google analytics doesn’t work (no data). Grrrrrr!

Thanks again for your help!

Post count: 6600

Hi,

You can also try theme’s analytics section: http://screencast.com/t/Sgn8TZVQD and also consult their analytics help section and follow one of their troubleshooting guides: https://support.google.com/analytics#topic=3544906 – or address them in relation to this: https://productforums.google.com/forum/#!forum/analytics

Thanks

Post count: 44

I already have analytics code in theme box.

Thx Lucian, I will check it with google.

My regards, Z

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.