You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.
I store static web-page with index.html file and related resources (js, css etc.) in the feed. After uploading a new version of the site, my users don't see it until they hard refresh page with cache cleaning in browser. I suppose, there is a bug in your cache-control response headers. It returns "cache-control: max-age=2147483648, immutable" header, but files in a feed are mutable.
Expected behaviour
Files in a feed must not be cached in browsers. The gateway doesn't return caching HTTP-headers for files in a feed.
Actual behaviour
The gateway returns "cache-control: max-age=2147483648, immutable" header for files in a feed.
@acud , any progress on this issue?
please note, the bug wasn't reported against any client, it is about https://swarm-gateways.net.
We need either gateway or swarm JS client (if any available)
Thanks for your involvement here. As @acud mentioned, we are moving away from the old swarm-client, including the gateway to that network. The new gateway is found at gateway.ethswarm.org.
With respect to the Swarm JS client, we are pushing strong for that, from our side. A team has started with the planning. I am sure that for them, your feedback on how you want to use the libraries would be extremely valuable.
You can join the conversation at beehive.ethswarm.org, in particular the #Swarm Javascript channel.
Hope to see you there!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I store static web-page with index.html file and related resources (js, css etc.) in the feed. After uploading a new version of the site, my users don't see it until they hard refresh page with cache cleaning in browser. I suppose, there is a bug in your cache-control response headers. It returns "cache-control: max-age=2147483648, immutable" header, but files in a feed are mutable.
Expected behaviour
Files in a feed must not be cached in browsers. The gateway doesn't return caching HTTP-headers for files in a feed.
Actual behaviour
The gateway returns "cache-control: max-age=2147483648, immutable" header for files in a feed.
Steps to reproduce the behaviour
Open any feed URL. I work with this:
https://swarm-gateways.net/bzz:/273cd5834517427149d4141400fb79db8ff446f4cf1c96ed5fca51d92ad4b5d1/
The text was updated successfully, but these errors were encountered: