Activity Forums Salesforce® Discussions What is the use of the Static Resources in Salesforce?

  • Anurag

    Member
    July 31, 2018 at 1:44 pm

    Hi Anjali,

    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().

  • Parul

    Member
    September 22, 2018 at 5:02 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.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos