Cache-Control HTTP header value (instance security hardening)
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Platform Security
Use the glide.http.cache_control property to set the default cache-control value in the HTTP response headers that the Now Platform sends when requesting static content data for a page. Examples of static content include images, CSS, and JavaScript rendered from within, for a page.
Value | Description |
---|---|
private | Static content can be cached at the browser (client) level, but not at the proxy server level. |
public | Static content can be cached at the browser (client) level, and also at the proxy server level. |
The Expires value in the HTTP response headers control when the static content expires, and has a default value of 369 days. To manually override the default value, use the glide.http.expire.days property.
- Cache-Control value default using the glide.http.cache_control property.
- Expires value default using the glide.http.expire.days property.
More information
To learn more about adding or creating a system property, see Add a system property.