Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Files from a Feed are cached by browser #2213

@alsakhaev

Description

@alsakhaev

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.

image

Steps to reproduce the behaviour

Open any feed URL. I work with this:
https://swarm-gateways.net/bzz:/273cd5834517427149d4141400fb79db8ff446f4cf1c96ed5fca51d92ad4b5d1/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions