How to remove "Private" from cache control header
book
Article ID: CTX694579
calendar_today
Updated On:
Description
This Article describes how we can remove 'Private' from Cache-Control header.
Instructions
Please follow below steps to remove 'private' from cache control header:
- First, we would need to create a rewrite policy to delete existing cache control header:
add rewrite action Delet_cachecontrol delete_http_header Cache-Control
add rewrite policy delete_controlpolicy HTTP.RES.IS_VALID Delet_cachecontrol
- Then create another Rewrite policy to add desired cache control header:
add rewrite action Add_cachecontrol insert_http_header Cache-Control q/"\"Cache-Control: public, no-cache, no-store, must-revalidate\""/add rewrite policy add_controlpolicy HTTP.RES.IS_VALID Add_cachecontrol
Issue/Introduction
How to remote 'Private' from cache control header
Was this article helpful?
thumb_up
Yes
thumb_down
No