Salesforce Functions for Caching Expensive Queriesby@MichaelB
526 reads
526 reads

Salesforce Functions for Caching Expensive Queries

by Michael11mNovember 14th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Caching is a strategy that can help you conserve resources and improve performance. By caching the result of that query, you can return the cached result when necessary. The result is the same, but you save the need to run the expensive query. For example, the example query will be “the number of companies with more than 10,000 employees.” We imagine a use case in which there’s a page that our sales team loads often, and the page requiring this query is often loaded. To use all of the above components, you must have the following pieces in place.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Salesforce Functions for Caching Expensive Queries
Michael HackerNoon profile picture
Michael

Michael

@MichaelB

I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

About @MichaelB
LEARN MORE ABOUT @MICHAELB'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael HackerNoon profile picture
Michael@MichaelB
I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite