Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Purushothaman
Partner - Creator III
Partner - Creator III

Content cache-controls: maxAge Parameter Value

Hi there,

Based on the below article on the item 6 "Configure the cache-controls as per Content cache-controls and click Add"


https://community.qlik.com/t5/Official-Support-Articles/Applying-a-custom-cache-control-policy-in-Ql...


If we configure the Cache policy to: "Private, must-revalidate, max-age=0," what value should we assign to the maxAge parameter?

Purushothaman_0-1692071765787.png

Anyone, Please suggest. 


Thank you!

 

Labels (4)
1 Solution

Accepted Solutions
Lisa_Sun
Support
Support

maxAge  is still required and based on your business requirement.  By default, it can be set as 3600 seconds. 

The max-age=N response directive indicates that the response remains fresh until N seconds after the response is generated.  max-age=0 is not same as no-cache.  More details can be found from below.  

Cache-Control - HTTP | MDN (mozilla.org)
HTTP caching - HTTP | MDN (mozilla.org)

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

1 Reply
Lisa_Sun
Support
Support

maxAge  is still required and based on your business requirement.  By default, it can be set as 3600 seconds. 

The max-age=N response directive indicates that the response remains fresh until N seconds after the response is generated.  max-age=0 is not same as no-cache.  More details can be found from below.  

Cache-Control - HTTP | MDN (mozilla.org)
HTTP caching - HTTP | MDN (mozilla.org)

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!