Some media never returning 304 Not Modified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
Some media (seems to be icons) are not caching correctly. This is causing clients to unnecessarily re-download data. For example the Skype snap:
Icon doesn't cache correctly:
$ curl -v https:/
...
HTTP/1.1 200 OK
ETag: 0eb79490aa87b6d
Cache-Control: public,
...
$ curl -v -H 'If-None-Match: 0eb79490aa87b6d
...
HTTP/1.1 200 OK
...
But a screenshot does:
$ curl -v http://
...
HTTP/1.1 200 OK
ETag: 15c7408f02db3af
Cache-Control: public,
...
$ curl -v -H 'If-None-Match: 15c7408f02db3af
...
HTTP/1.1 304 Not Modified
...