Activity Forums Salesforce® Discussions What are Static Resources in Salesforce?

  • shariq

    Member
    September 24, 2018 at 1:27 am

    Static resources helps to store upload images, files, zip files, documents, javascript files, Css Files which can be used in visualforce pages. Maximum data storage limit for static resource is 250mb.
    An example of a static resource is an image. It’s the same for each and every request. It’s a file on the filesystem that doesn’t require any processing – you simply tell nginx send this file as-is to the user.

  • Avnish Yadav

    Member
    September 30, 2018 at 12:44 am

    Hello,

    Static resources allow you to upload content that you can reference in aVisualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files.
    And You can add static resources by going-

    From Setup, enter Static Resources in the Quick Find box, then select Static Resources.
    Click New.

    Thanks.

  • Arun

    Member
    February 12, 2020 at 6:03 am

    The user interface in a Visualforce base can display dynamic content the value of which keeps changing based on user responses. But there are times when we need some content which should not change with the change in values of other components in the page. For example, an image file may be required to remain constant. Such content which cannot be changed in a page is known as a static resource.

    Following are a few static resources in Salesforce −

    1. Images
    2. Javascript Files
    3. Flash files
    4. CSS files
  • Kirandeep

    Member
    February 12, 2020 at 3:23 pm

    Hi,

    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