Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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, 4 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.
    • 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

    application solution

    Popular Salesforce Blogs

    Difference between a Salesforce Administrator and a Salesforce Developer

    Blog in Others

    Managing your business, you will definitely meet a question how to store and analyze data about your customers and their needs. Times when you did…

    Apex Triggers, api-integration, Application Development, Configuration, Connection
    Vimera | Andersen Mar 28, 2024
    811  Views
    Salesforce consulting companies help your business grow

    How do Salesforce consulting companies help your business grow?

    Blog in Salesforce Consultant

    Salesforce has time and again proven to be the best platform-as-a-service cloud CRM in the world. At present, Salesforce is the most widely used cloud…

    Customer Experience, Salesforce Applications, Salesforce Apps, Salesforce Consultant, Salesforce Consultants
    Algoworks Aug 13, 2019
    6,361  Views
    ampscript

    Inserting Data into Salesforce Data Extensions Using Cloud Pages and If-Else Conditional Statement in AMPscript

    Blog in Data, Data Migration, Salesforce, Salesforce Apex

    This blog brings you an interesting topic: How to save data into Salesforce data extensions via cloud pages and using If-Else statements. As you must…

    Cloud Pages, Conditional Statement, Conditional Statement in AMPscript, data, Data Extension
    Udit May 11, 2020
    21,169  Views

    Popular Salesforce Videos

    Process Builder - A Tool every Salesforce Developer must know

    Process Builder - A Tool every Salesforce Developer must know

    Video in Trailhead

     Salesforce Process Builder - A Tool every Salesforce developer must know. Learn how to master Process builder Salesforce to automate your business processes. In this…

    Salesforce Admin Training, Salesforce Developer, Free Salesforce Training, Easy Way To Learn Salesforce, Salesforce Lightning Process Builder
    Abhay Nov 30, 2018
    2,592  Views
    Pardot vs Marketing Cloud: What's The Difference?

    Pardot vs Marketing Cloud: What's The Difference?

    Video in Salesforce Products, Salesforce Cloud Platform

    There are different functions of each Salesforce product according to the use cases. Many businesses get confused between Salesforce Pardot and Marketing cloud. Pardot is…

    Salesforce Training, Salesforce Tutorial, Lead Management, salesforce product, Salesforce Learning
    Cyntexa Dec 29, 2022
    1,494  Views
    8 Steps to Launch Your App on Salesforce AppExchange

    8 Steps to Launch Your App on Salesforce AppExchange

    Video in AppExchange, Salesforce Apps

    AppExchange is the largest business app store in the world, with over 4,000 apps and millions of users. In this video, we will guide you…

    salesforce, Salesforce Apps, Salesforce App Development, Salesforce Video, Salesforce AppExchange
    ENWAY Nov 6, 2023
    4,061  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.