Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

aws-s3-deploy pipe - How to setup custom Cache-Control?

Milan Gligorijevic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2024

Hi,

In the documentation for the aws-s3-deploy pipe, it states the following: CACHE_CONTROL: Caching behavior along the request/reply chain. Valid options are no-cache, no-store, max-age=<seconds>, s-maxage=<seconds> no-transform, public, private. Defaults to unset.


How can I create a cache-control value with the following setting - 'public, max-age=604800, immutable'? This is a completely valid value, but I am unable to set it through the pipe.

 

Thanks in advance,
Milan

1 answer

1 accepted

2 votes
Answer accepted
Milan Gligorijevic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2024

I managed to solve the problem; the issue was caused by spaces. If I set 'public,max-age=604800,immutable', everything works fine.

Lucas Moraes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2025

@Milan Gligorijevic Could you provide an example of what the pipeline looks like?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events