Activity › Forums › Salesforce® Discussions › What is a Static Resource in Salesforce?
Tagged: CDN, Content Distribution Network, Global Variable, Salesforce Lightning Platform, Static Resource in Salesforce, URLFOR, Visualforce Page
-
What is a Static Resource in Salesforce?
Posted by Aman on September 22, 2018 at 4:30 PMWhat is a Static Resource in Salesforce?
Parul replied 7 years, 7 months ago 3 Members · 2 Replies -
2 Replies
-
Static resources allow you to upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files.
- [adinserter block='9']
-
Static resources allow you to upload content that you can reference in a Visualforce page. Resources can be archives (such as .zip and .jar files), images, stylesheets, JavaScript, and other files.
Static resources are managed and distributed by Lightning Platform, which acts as a content distribution network (CDN) for the files. Caching and distribution are handled automatically.Static resources are referenced using the $Resource global variable, which can be used directly by Visualforce, or used as a parameter to functions such as URLFOR().
Log In to reply.