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, 11 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

    Page Layout in Salesforce

    Learn How to Access Page Layout in Salesforce | Help Guide

    Blog in Salesforce Apex

    In Salesforce, Page Layout is used to customize the page of an object record. It controls the layout of an object.  It defines which fields…

    Custom Links, Data in Objects, Field Options, Fields, Lightning
    Sejal Agrawal Sep 28, 2022
    2,778  Views
    Omni-Channel

    Successful Implementation of Omni-Channel | Salesforce Guide

    Blog in Others, Salesforce Implementation

    In this blog, we are going to discuss Omni-Channel.  Let’s discuss some brief introduction of Omni-Channel.  Omni-channel is one of the important parts of the…

    Chat Buttons, Creation of Queue, Creation of Service Channel, Custom Code, Customer Cases
    Shweta May 21, 2021
    5,512  Views

    Manufacturing Salesforce Cloud | Boost your production with better predictions

    Blog in Salesforce Cloud Platform

    Manufacturers are the most valuable assets for any company’s growth because they mold the products into what they are, and the products are the reason…

    Salesforce Clouds, Salesforce Deployment, Salesforce In manufacturing Industry, Salesforce Manufacturing Cloud, Salesforce Products
    LevelShift (formerly DemandBlue) Nov 15, 2019
    3,067  Views

    Popular Salesforce Videos

    Integrate Salesforce with Amazon S3

    Integrate Salesforce with Amazon S3

    Video in Salesforce Integration

    Dear #Trailblazers, In this video, we are going to learn how to connect #Salesforce with #Amazon S3. We are going to use Named Credentials which…

    Salesforce Training, Salesforce Integration, salesforce, Salesforce Video, Salesforce Learning
    Jogender May 27, 2020
    1,756  Views
    Introduction To Salesforce | Salesforce Training Videos For Beginners

    Introduction To Salesforce | Salesforce Training Videos For Beginners

    Video in Salesforce Training

    Are you confused to choose the best edition tool? For CRM and Branding then here is the information for you! Salesforce is one of the…

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Salesforce1, Salesforce Software
    Pooja Jan 10, 2018
    2,128  Views
    Why There Are So Many Acquisitions in The Salesforce Ecosystem?

    Why There Are So Many Acquisitions in The Salesforce Ecosystem?

    Video in Salesforce Stories

    Global technology acquisition deals amounted to $634.1 billion in 2020, an increase of 91.8% year-on-year. An acquisition is when one company purchases most or all…

    Salesforce Ecosystem, Salesforce Video, Salesforce Learning, Technology, Acquisitions
    Nauman Mar 15, 2021
    1,950  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.