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, 1 month 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

    7 Reasons to Choose Odoo ERP Over Other Open-Source ERP Platforms

    7 Reasons to Choose Odoo ERP Over Other Open-Source ERP Platforms

    Blog in CRM/ERP consulting

    ERP decisions rarely fail because of software features. They fail when businesses realize too late that the system does not match how their operations actually…

    Business Automation, Business Management, Enterprise ERP, ERP Software, ERP Solutions
    Shivam May 11, 2026
    1,348  Views

    How Managed Services Improve Salesforce Performance & ROI

    Blog in Salesforce

    The Salesforce has turned out to be the heart of business activities today be it customer data management, creating sales or automating business processes. However,…

    Melonleaf Jan 20, 2026
    265  Views

    Salesforce Sales Cloud Solutions: Transforming Sales Teams With Smart Automation

    Blog in Salesforce

    In today’s competitive market, sales teams face constant pressure to move faster, understand customer needs better, and close deals with precision. But with scattered data,…

    Sales Automation That Saves Hours, Salesforce Sales Cloud, Salesforce Sales Cloud Solutions, Smarter Lead Management
    Dean Jan 20, 2026
    284  Views

    Popular Salesforce Videos

    Get Started with Salesforce for Recruitment and Admissions: Recruitment and Marketing

    Get Started with Salesforce for Recruitment and Admissions: Recruitment and Marketing

    Video in Others, Marketing

    This webinar is designed for Salesforce admins and users who work in Recruitment and Admissions. It covers all you need to know about using Salesforce…

    salesforce, Salesforce Tools, Salesforce Admins, Salesforce Webinar, Salesforce Video
    Nauman Jul 28, 2020
    1,488  Views
    Tracking Member Engagement with Scoring and Dashboards

    Tracking Member Engagement with Scoring and Dashboards

    Video in Analytics

    More than half of organizations with a member engagement plan reported that it helped them increase: Membership renewals by 51%. Attendance at events and webinars…

    Salesforce Tutorial, salesforce, Salesforce Video, Digital Engagement, dashboards
    Aplusify Jun 24, 2024
    608  Views
    Salesforce Consent Management

    Salesforce Consent Management

    Video in Salesforce Products, Salesforce Training

    Consent Management: Track Customer Consent and Honor Opt-Out Requests. Track your customers' approval for how your company interacts with them. To help you assess your…

    Salesforce Training, Salesforce Video, data protection, Salesforce Learning, Company
    Abhishek Jul 14, 2021
    1,843  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.