Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maas.io lacks Cache-Control settings for simplestreams #236

Closed
jhobbs opened this issue Apr 6, 2018 · 1 comment
Closed

maas.io lacks Cache-Control settings for simplestreams #236

jhobbs opened this issue Apr 6, 2018 · 1 comment

Comments

@jhobbs
Copy link

jhobbs commented Apr 6, 2018

Summary

There are no Cache-Control settings for simplestreams files on maas.io. This means caching proxies in between maas and maas.io might cache incompatible files - like index.json and index.json.gpg - separately, causing signature validation errors.

See: https://bugs.launchpad.net/maas/+bug/1761813

Process

curl -D - https://images.maas.io/ephemeral-v3/daily/streams/v1/index.json.gpg

Note the lack of Cache-Control in the header.

Current and expected result

Currently there is no Cache-Control. I expect there to be Cache-Control along the lines of:

Cache-Control: max-age=0, proxy-revalidate

Screenshot

http://paste.ubuntu.com/p/6Ry5kfdFBf/

@jhobbs jhobbs changed the title maas.io lacks cache-control settings for simplestreams maas.io lacks Cache-Control settings for simplestreams Apr 6, 2018
@carlaberkers
Copy link

fix released on LP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants