Salesforce Functions for Caching Expensive Queriesby@MichaelB
513 reads

Salesforce Functions for Caching Expensive Queries

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@MichaelB

Michael

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


Receive Stories from @MichaelB

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!