{"id":9755,"date":"2026-05-21T12:44:33","date_gmt":"2026-05-21T17:44:33","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=9755"},"modified":"2026-05-21T12:44:33","modified_gmt":"2026-05-21T17:44:33","slug":"better-browser-caching-with-no-vary-search","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/better-browser-caching-with-no-vary-search\/","title":{"rendered":"Better Browser Caching with No-Vary-Search"},"content":{"rendered":"\n<p>The new <code>No-Vary-Search<\/code> header can be used to tell browsers that a query string like <code>?product_id=7<\/code> means the content on that URL is unique based on the query parameter, so cache pages like that individually. But also that a query string like <code>?utm_source=frontendmasters<\/code> does <em>not<\/em> have unique content, so <em>don&#8217;t<\/em> cache it individually. (<a href=\"https:\/\/csswizardry.com\/2026\/05\/better-browser-caching-with-no-vary-search\/\">As explained by Harry Roberts<\/a>)<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new No-Vary-Search header can be used to tell browsers that a query string like ?product_id=7 means the content on that URL is unique based on the query parameter, so cache pages like that individually. But also that a query string like ?utm_source=frontendmasters does not have unique content, so don&#8217;t cache it individually. (As explained [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9757,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[336,70,488],"class_list":["post-9755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-headers","tag-performance","tag-query-strings"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2026\/05\/pexels-photo-14752099.jpeg?fit=865%2C1300&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/9755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=9755"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/9755\/revisions"}],"predecessor-version":[{"id":9756,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/9755\/revisions\/9756"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/9757"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=9755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=9755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=9755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}