Activity Forums Salesforce® Discussions What is a Static Resource in Salesforce?

  • shariq

    Member
    September 22, 2018 at 4:30 pm

    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.

  • Parul

    Member
    September 22, 2018 at 5:02 pm

    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.

Popular Salesforce Blogs

Popular Salesforce Videos