function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Diane RoyerDiane Royer 

Static Resource set with Public Cache requires Log-in

I have an logo saved as a Static Resource and I have the Cache Control set to Public.  However, when I try to use that logo outside of Salesforce, I am presented with a screen to log in.  How can I have a Logo that is saved in Salesforce that is truely available to a public site without the requirement of a log in?
VinayVinay (Salesforce Developers) 
Hi Diane,

Can you elloborate more on this?

Thanks,
Mehnaz A Cube84Mehnaz A Cube84
Hi Diane,
This is Mehnaz from CUBE84

My analysis will be:
 

Standard salesforce URL should be replaced with the public site URL

Or else create a document and upload an image that is there in classic - You have to create a public site and you have to replace that URL with salesforce for static resource

Thank you