| Summary: | Cache-Control header not set properly | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Silenio Quarti <Silenio_Quarti> |
| Component: | Server | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | grant_gayed, Michael_Rennie |
| Version: | unspecified | Flags: | grant_gayed:
review+
|
| Target Milestone: | 15.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| See Also: | https://github.com/eclipse/orion.server/pull/5 | ||
| Whiteboard: | |||
GitHub Pull Request 5 created by [squarti] https://github.com/eclipse/orion.server/pull/5 Merged |
In OrionSerlet#writeResponse, we call resp.setHeader("Cache-Control", "no-cache"); //$NON-NLS-1$ //$NON-NLS-2$ resp.setHeader("Cache-Control", "no-store"); //$NON-NLS-1$ //$NON-NLS-2$ this sets the Cache-Control to "no-store", because the second line overwrites the first one.