Menu

Chris’ Corner: URLs
📰
0

Chris’ Corner: URLs

CodePen·@HashtagPLUS·about 1 month ago
#jEi0IX9f
Reading 0:00
15s threshold

In Fixing the URL params performance penalty , Barry Pollard sets up a very clear real-world conundrum. The content at these two URLs is probably the same: https://www.example.com/ https://www.example.com/?utm_source=email The content at these two URLs is probably not: https://www.example.com/products?productid=1234 https://www.example.com/products?productid=5678 Who cares? Cache cares. Because content with different query params might be different, the various tech that deals with caching has to assume it will be different. But that sucks tho. And it’s not a new problem. I’m not sure what the history or landscape of solutions is for this, but one from the Chrome gang that is rolling out from them is a new header: No-Vary-Search . The idea is that you get the control as the owner of the site to say how it works on your site.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More