socketry / protocol-http

MIT License
23 stars 20 forks source link

Cache-Control: add must-revalidate, proxy-revalidate, s-maxage #39

Closed zarqman closed 1 year ago

zarqman commented 1 year ago

Types of Changes

This adds 3 additional attributes to the Cache-Control header: must-revalidate, proxy-revalidate, and s-maxage.

It also makes max-age and s-maxage tolerant of invalid values.

Contribution