To enable/disable component caching in Salesforce
1. Go to Session Settings.
2. Check Enable secure and persistent browser caching to improve performance.
For better performance, Enable secure and persistent browser caching to improve performance should be enabled in Production and disabled in Sandbox.