Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › What are the best practices for caching in Salesforce REST?

    Tagged: Application Cache, Best Practices, Caching, CSS, Dynamic Content, Javascript, Metadata API in Salesforce, REST

    • Salesforce® Discussions

      What are the best practices for caching in Salesforce REST?

      Posted by Anjali on August 2, 2018 at 7:42 AM

      What are the best practices for caching in Salesforce REST?

      Parul replied 7 years, 12 months ago 3 Members · 2 Replies
      • Application Cache
      • Best Practices
      • Caching
      • CSS
      • Dynamic Content
      • Javascript
      • Metadata API in Salesforce
      • REST
    • 2 Replies
    • chanchal kumar

      Member
      August 2, 2018 at 12:39 PM

      best practice for caching in REST?

      • Always keep static contents like images, CSS, JavaScript cacheable, with expiration date of 2 to 3 days.
      • Never keep expiry date too high.
      • Dynamic content should be cached for a few hours only.
    • [adinserter block='9']
    • Parul

      Member
      September 23, 2018 at 8:51 AM

      Caching is the ability to store copies of frequently accessed data in several places along the request-response path. When a consumer requests a resource representation, the request goes through a cache or a series of caches (local cache, proxy cache or reverse proxy) toward the service hosting the resource. If any of the caches along the request path has a fresh copy of the requested representation, it uses that copy to satisfy the request. If none of the caches can satisfy the request, the request travels all the way to the service (or origin server as it is formally known).

      Using HTTP headers, an origin server indicates whether a response can be cached and if so, by whom, and for how long. Caches along the response path can take a copy of a response, but only if the caching metadata allows them to do so.

      Optimizing the network using caching improves the overall quality-of-service in following ways:

      Reduce bandwidth
      Reduce latency
      Reduce load on servers
      Hide network failures

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Introduction to The Salesforce Clouds

    Blog in Salesforce

    Salesforce is the world’s number one CRM company. Initially, Salesforce began as a Customer Relationship Management (CRM) software as a service provider (SaaS). Now, it…

    Apps, Automate Service Processes, B2B Companies, BI Ssolution, Build Websites
    Apphienz Apr 22, 2021
    2,749  Views

    All You Need to Know About Dynamic SOQL Query

    Blog in Others

    Dynamic SOQL (Structured Query Language) queries are a powerful tool for querying and manipulating data in Salesforce. Unlike static SOQL queries, which are written directly…

    Batch Apex, Bind variable map, Combination, Contact Object, Criteria
    Rahul Jul 25, 2023
    2,965  Views
    Learn Salesforce Einstein – Chapter 2 (AI Buddy Installation)

    Learn Salesforce Einstein – Chapter 2 (AI Buddy Installation)

    Blog in AI and ML, Salesforce Einstein

    AI Buddy Installation 1. Login in the org, where you want to install the App. 2. Go to Download Page and click on the latest…

    Learn Einstein, Salesforce Einstein, Salesforce Einstein Language
    0to1Code.Com Sep 13, 2017
    4,775  Views

    Popular Salesforce Videos

    Similarity and Difference Between SFRA and PWA | Which One to Choose? | Salesforce

    Similarity and Difference Between SFRA and PWA | Which One to Choose? | Salesforce

    Video in Salesforce Stories

    Choosing SFCC as the platform necessitates a major decision: on what architecture will your channels be based? When learning about Salesforce B2C Commerce Cloud, you'll…

    Salesforce Training, salesforce, Salesforce Learning, Webinar, Commerce Cloud
    Cyntexa Aug 29, 2022
    1,734  Views
    Create Survey in Salesforce | #Feedback Program #Salesforce Tutorials | Mini Project

    Create Survey in Salesforce | #Feedback Program #Salesforce Tutorials | Mini Project

    Video in Salesforce Development

    In this video you will learn :  What are the surveys? Why businesses use surveys? And how you can create and send surveys using #Salesforce? …

    Salesforce Training, Salesforce Developer, salesforce, Salesforce Tutorials, Salesforce Video
    Kapil Jun 25, 2020
    2,457  Views
    Customized Ideas Management on Salesforce Experience Cloud | IdeasPro by Grazitti

    Customized Ideas Management on Salesforce Experience Cloud | IdeasPro by Grazitti

    Video in Salesforce Communities

    Learn how IdeasPro enables you to drive business growth by making the most of ideas on Salesforce communities, in this video.

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Community, Salesforce Learning
    Sukhwinder Singh Jul 29, 2022
    3,520  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.