Cybersecurity news

Jessica Doner

Back to the list

We just shipped support for the ugliest part of HTTP: Vary

Cloudflare,

Cloudflare shipped support for the Vary response header, a mechanism described as ugly, kludgy, and having abysmal interoperability.

Overview

Cloudflare has added support for the Vary header, a mechanism in HTTP that has been described as ugly and poorly interoperable. This header tells a cache which request fields may affect the response sent by a serverA computer or program on a network that stores data and responds to requests from client devices. Without it, a cache might serve the wrong data, such as sending HTML to a client that expects JSON. The problem is that Vary does not specify which differences actually matter, which can lead to too many cache entries. Cloudflare now allows users to decide how to handle these variations by normalizing headers or bypassing the cache. This feature is available in Cache Rules on every plan.

Terms in this story

server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
URL
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cloudflare website. Cite the article, not this page.

Read the full article on Cloudflare (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role