---
schema_version: "1"
id: e4dd37ba20a7cd2c4f3983fc88f56731a153393e720dd7d4dadf08cc462cb9c2
title: Enable Secure Browser Caching
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/perf/perf-secure-browser-caching.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/perf-secure-browser-caching.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 38afa4b39166bb6f4233d31041d382ffcbd5b9151523ba974eff0ef18c493e33
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Enable Secure Browser Caching

Enable secure data caching in the browser to improve page reload performance by avoiding extra round trips to the server.

This setting is selected by default.

**warning:** Disabling secure and persistent browser caching has a significant negative performance impact on Lightning Experience. Only disable in these scenarios.

-   Your company’s policy doesn’t allow browser caching, even if the data is encrypted.
-   During development in a sandbox or Developer Edition, you want to see the effect of any code changes without emptying the secure cache.

Secure and persistent data caching isn't available for Salesforce mobile app.

To disable secure data caching:

1.  From Setup, enter `Session` in the Quick Find box, and then select **Session Settings**.
2.  Deselect the checkbox for “Enable secure and persistent browser caching to improve performance”.
3.  Click **Save**.

