WebPagetest Forums
Expired Headers - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: Expired Headers (/showthread.php?tid=15735)



Expired Headers - miknight - 03-31-2019 08:25 AM

I get these showing up under "Add Expires Headers" in GT Metrix.

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

https://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900%2C300it​alic%2C400italic%2C700italic%7CDosis%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2​C800%2C900%2C300italic%2C400italic%2C700italic%7CRoboto%3A100%2C200%2C300%2C400%​2C500%2C600%2C700%2C800%2C900%2C300italic%2C400italic%2C700italic%7CNoto%20Sans%​3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900%2C300italic%2C400italic%2C​700italic%7COpen%20Sans&subset=latin%2Clatin-ext
https://fonts.googleapis.com/css?family=Open+Sans
https://i.ytimg.com/vi/dRo20SB0lU4/hqdefault.jpg
https://i.ytimg.com/vi/63vjaAmseKk/hqdefault.jpg


How do I add expired headers for these items? I've already hired a coder on Freelancer and he was unable to do it.


RE: Expired Headers - avalanch - 04-01-2019 03:31 AM

Those are 3rd party assets. You can import those locally or ignore those. You can rarely control what the expires headers are for resources not hosted on your server. Simply because any rules in a htaccess... will only affect things on your server.

And your other options would be to move around where in your template those external fonts are called.


RE: Expired Headers - seokru - 05-20-2019 09:58 PM

Usually 3rd party assets don't worth the time, most of them should be ignored