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 8 years 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

    Sforce Chromeee

    Sforce Chromeee - A Salesforce Theme for Google Chrome

    Blog in Others

    Hi Everyone, I have created a Salesforce theme for google chrome. Now you will be with salesforce even you are working on somewhere else. About:…

    Chrome Themes
    0to1Code.Com Aug 29, 2017
    3,638  Views

    What is Salesforce Agentforce? A Guide to Features, Benefits and Technology

    Blog in Salesforce integration

    Driving Customer Success with Innovation and Excellence at AwsQuality Agentforce Is An AI Agent Builder Powered By Salesforce, Catering To Companies Wanting Innovation In Support…

    Certified Salesforce Consulting Company, Custom Salesforce Development, Salesforce Agentforce, Salesforce Agentforce Integration, Salesforce CRM
    AwsQuality Aug 1, 2025
    564  Views

    A Complete Guide to Salesforce Org Migration: Steps, Best Practices, and Common Pitfalls

    Blog in Salesforce

    A Salesforce organization migration is a big task that needs to be planned carefully and carried out expertly. For organizations looking to streamline processes, consolidate…

    Salesforce Org, Salesforce Org Migration, Salesforce Org Strategy
    TechForce Aug 1, 2025
    755  Views

    Popular Salesforce Videos

    Connect Google Ads Lead Form Extension to Salesforce

    Connect Google Ads Lead Form Extension to Salesforce

    Video in Salesforce Integration

    Do you need to collect leads from your Google Ads Lead Form extension and receive them directly in your Salesforce org? We demo how to…

    Salesforce Training, Salesforce Tutorial, salesforce, Leads in Salesforce, Salesforce Org
    DB Oct 13, 2022
    2,203  Views
    Salesforce Service Cloud Telephony

    Salesforce Service Cloud Telephony

    Video in AppExchange

    Natterbox CTI and Telephony inside Salesforce ServiceCloud. Transform your telephony experience and empower your agents with fast and personalised support.

    Salesforce Service Cloud, Salesforce Cloud, Best Salesforce Tutorials, Salesforce Service Cloud Training, Salesforce Service Cloud Demo
    Ian Feb 20, 2019
    2,024  Views
    What is Salesforce Labs?

    What is Salesforce Labs?

    Video in Others, Salesforce Products

    Free. Open Source. Solutions by Salesforce Employees. From bots to dashboard packs and beyond, Salesforce Labs has something to fit all your business needs. Watch…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Salesforce Labs
    Pooja Oct 9, 2020
    2,562  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.