Activity Forums Salesforce® Discussions What is (cacheable=true) in Apex Salesforce?

  • MOHIT

    Member
    June 29, 2020 at 3:04 pm

    To set cacheable=true, a method must only get data. It can’t mutate data.

  • Anjali

    Member
    June 29, 2020 at 3:06 pm

    Marking a method as storable (cacheable) improves your component's performance by quickly showing cached data from client-side storage without waiting for a server trip.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos