When should we use static resource over dynamic resource ?


Dynamic resources reduce application performance because they are evaluated every time the
resource is needed. So the best practice is use Static resource until there is a specific reason to
use dynamic resource. If you want resource to be evaluated again and again then only use
dynamic resource.