Image component caching static resource?

  • 2
  • Problem
  • Updated 3 years ago
  • Solved
Last week I edited a static resource image file called "Logo"

This week, I opened a page that has an image component which references that static resource.

The image displayed is the old one. Even if I remove the image component, and add a new one, when I try to use the "Logo" static resource for the image component, it shows the old one.

Here's the static resource itself:


Here's what's happening in the builder:


I should see the ABC Women's Clinic logo, not the True Care logo. I'm also getting the old logo in runtime. Help?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
Have you tried clearing your browser cache?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Yes, clearing the cache works. thanks.
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
No problem!
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Matt, the Image component does indeed cache the Static Resource. We will add this to our issue backlog as something to address. As Anna has mentioned, clearing your browser cache will force the Page Composer and runtime to use the latest version of the file.