Object storage static website cache control

I'm testing static website in object storage. I have some heavy static assets, I would like the client browser doesn't download it on every page request.

I set the the header to the assets files like this:

Cache-Control: public, max-age=604800, immutable

But client browser is downloading it in every request. Some idea?

Thank you

1 Reply

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct