Skip to content

We could improve the list of known headers & values #63750

@MihaZupan

Description

@MihaZupan

Some of the more common ones that we don't currently cache strings for:
(these were gathered from https://github.com/bensooter/URLchecker/blob/master/top-1000-websites.txt)

Connection: keep-alive
Connection: keep-alive, Transfer-Encoding

Cache-Control: private, max-age=0
Content-Length: 0
Vary: Accept-Encoding
Expires: -1
Age: 0

Accept-Ranges: bytes
Accept-Ranges: none

Content-Type: text/html; charset=utf-8
Content-Type: text/html
Content-Type: text/html;charset=utf-8

Strict-Transport-Security: max-age=31536000
Strict-Transport-Security: max-age=31536000; includeSubdomains
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload

X-Frame-Options: SAMEORIGIN
X-Frame-Options: DENY

X-XSS-Protection: 1; mode=block
X-XSS-Protection: 0

X-Cache: HIT
X-Cache: MISS

X-Cache-Hits: 0
X-Cache-Hits: 1

We should also consider including names from the QPackStaticTable

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.HttpenhancementProduct code improvement that does NOT require public API changes/additionsin-prThere is an active PR which will close this issue when it is mergedtenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions