appsmithorg / appsmithorg/appsmith

[Feature] Cache results of actions that auto-execute on page load to reduce flickering

Aperta
#3,530 2 commenti 0 reazioni 1 assegnatario Assegnata a @mohanarpit Vedi su GitHub
Community Reported Core Query Execution Enhancement Integrations Product Query & JS Pod Query Widgets & IDE Pod
Lingua principale
TypeScript
Stelle
40.9k
Fork
4.8k
Merge medio
1g 22h
PR unite (30g)
45

Descrizione

Since the auto-load queries execute every time we switch pages, there can be a lot of flickering when we have a lot of tables with queries. If we can cache these results at least in the browser at a session level, that can reduce such potential flickering at least until the browser is refreshed. This stems from the below broader message posted on Discord:

> I've created a page that makes loads of queries, some when the page is loaded and others when a customer is selected. Some of the results of these queries are just look up data that are not expected to change frequently so it would be useful to be able to set a "time to live" (TTL) for these queries and cached results are returned within the TTL.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.