Questions tagged [caching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

lightning:inputField type Date showing both Date Picker and history of dates, how to avoid showing history but show only the Date Picker?

I am using lightning:inputField with type as Date, the issue is this field shows two pick-windows 1. Date Picker and 2. Date-History picker. Please help anyone, if you know if there is any fix for ...
3
votes
1answer
869 views

Disable caching in LWC

I have a LWC which is doing some conditional display. The LWC is encapsulated in a Lightning Component and receives a record id from it. When opening the parent Lightning Component for different ...
0
votes
1answer
348 views

Lightning Web Component displaying cached source from previous deploy

During development of Lightning Web Components I have seen on multiple occasions an issue where the compiled source in the browser does not match the source deployed to the org, but instead matches an ...
1
vote
0answers
285 views

Lightning and browser back/forward navigation not reloading page

When going back in the browser from one lightning page to another, I have a situation where data that was modified in a subsequent page is now stale on the previous one and the user has to refresh to ...
2
votes
1answer
1k views

Client-side custom data caching

Does anybody knows how to implement client-side data caching under locker service (as it disables default browser cache call from js)? The use case is as follows: I have community page built with ...
13
votes
1answer
686 views

Create DX scratch org with caching disabled

One of the most useful tips I've come across when developing lightning components in Salesforce is to disable caching, as otherwise Salesforce tends to aggressively cache components which makes ...
6
votes
1answer
4k views

Lightning component: Back button and caching [closed]

There is a Lightning community consisting of 2 pages: Search page: There are few fields and a search button. Upon entering the fields, the list of accounts are displayed. Detail page: If user clicks ...
14
votes
3answers
528 views

Lightning Development in SF1 – How to prevent caching?

I'm working on the development of some Lightning Component Quick Actions and I need to test some responsive behavior on Salesforce1. I'm running into a lot of caching issues and am having to reset ...
7
votes
2answers
5k views

Values are not updated in Lightning after record update

In communities, I have embedded a lightning components that edits the record in another form component and on save it redirects back to detail layout. The problem I am facing is after update when it ...
3
votes
1answer
125 views

Sandbox “Caching” Issue - Slow First-Record Access

This is a problem I've dealt with randomly for many years now. At my new company, our Full sandbox has what I like to call a "caching" issue. I know no other way to describe it. Every morning, I am ...
5
votes
1answer
328 views

Design pattern to manage record caching in an Apex execution

I am looking for a good caching design pattern that is comprehensive enough to be used OOTB. This pattern would ultimately produce a central manager class that all classes/triggers used to get records ...
2
votes
1answer
245 views

Convert String to Reports.ReportResults

As I began to mention in the comments of my previous post, I trying to store the Reports.ReportResults data into a custom caching object. I am able to store the data by converting the results to a ...
5
votes
1answer
46 views

How can I see cache hits. force.com site with PKB and url rewriter

We are hitting > 1million page views a month so I began looking at ways to reduce it. I found that we had explicitly set cache=false on the 3 main pages. A month ago I set this to cache=true with a ...
1
vote
1answer
735 views

salesforce caching

I would like to know if salesforce has any type of caching services? Any type of service that would allow me to keep data across web requests and in memory ? I did some research and did not find ...
4
votes
2answers
5k views

How to prevent caching in Cache.db-wal file in iOS App which contain Salesforce iOS SDK

My iOS App rejected by Salesforce security review team with following reason. "Insecure Storage of Sensitive Data" and show this file path /private/var/mobile/Applications/96998CD5-5C0F-490C-8E2C-...
0
votes
1answer
312 views

How can I store complex form in cache memory or local server

I have a requirement to store data some where other than the database. My form contains 3 Object records. Basically in constructor first record is displaying I am entering data into that after that I ...
6
votes
1answer
778 views

apex:composition vs. apex:page

Let's say I have a "by-the-textbook" vf page, using apex:composition and a template: <apex:page docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" applyBodyTag="...
1
vote
1answer
95 views

Replacing Logo is showing New Logo Name, but old Logo

I've a visualforce page which should allow me to change a logo(basically, an image which is stored as an attachment), and display the modified logo. In this context, when i replace the existing logo ...
2
votes
0answers
2k views

Chatter in APEX (Connect API) with VF: Best practices to avoid limits

I am currently working on using "Chatter in APEX" aka ConnectApi to display feeds from custom object records in a Visualforce page. I am using one VF page with links that re-render the same page but ...
5
votes
2answers
331 views

Visualforce Caching With URL Rewriter

I have a URL rewriter running on sites which essentially maps pretty URLs to a single Visualforce page which takes a standard ID parameter. If I enable caching for the page with cache='true' in the ...