Current time: 07-18-2019, 03:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expired Headers
03-31-2019, 08:25 AM
Post: #1
Expired Headers
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=...Clatin-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.
Find all posts by this user
Quote this message in a reply
04-01-2019, 03:31 AM (This post was last modified: 04-01-2019 03:41 AM by avalanch.)
Post: #2
RE: Expired Headers
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-20-2019, 09:58 PM
Post: #3
RE: Expired Headers
Usually 3rd party assets don't worth the time, most of them should be ignored
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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