Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting. Perhaps, instead of relying on "Vary: Accept" the server should respond with: "Vary: YourCustomHeader". The API client, on the other hand, will include "YourCustomHeader: SomeConstantValue" when making requests to the server. That way, the reverse proxy will only store up to two versions in its cache.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: