kaazing / http2-cache.js

2 stars 11 forks source link

implement s-maxage support #47 #57

Closed hthetiot closed 6 years ago

dpwspoon commented 6 years ago

This is an ok first implementation. But have you thought about s-maxage and maxage in terms of a shared cache for different Authorization Headers?

Example:

Cached asset for request with Authorization: ABC

request from application with Authorization: XYZ

if cache has valid s-maxage then we should be able to return (I would think)

if cache has valid max-age but not s-maxage, we should not return it from cache.

hthetiot commented 6 years ago

@dpwspoon for Authorization header see: