Article suggestions
  1. Home
  2. Common Questions & Troubleshooting
  3. Front-End Optimization: Enable Resource Delivery Via CDN

Front-End Optimization: Enable Resource Delivery Via CDN

Front-End Optimization: Enable Resource Delivery Via CDN
  • avatar
Written by Chan Nier
Updated on February 14, 2025

 Link: https://support.brilliantdirectories.com/support/solutions/articles/12000087024-front-end-optimization-enable-resource-delivery-via-cdn

The Front-End Optimization: Enable Resource Delivery Via CDN advanced setting enables additional optimization of the website performance by having any CSS  or Javascript resources that are referenced on all pages to be served from https://www.optimizecdn.com.

If set to OFF, the system will use relative paths from the domain, but if turned ON it speeds up the delivery of resources vs. the relative path of the domain name.

To activate the setting go to Settings > Advanced Settings: 

Front-End Optimization: Enable Resource Delivery Via CDN

This is a recently added update to our software, for which we added code to the following default widgets:

  • Bootstrap Theme - HEAD
  • Bootstrap Theme - Footer - Scripts
  • Bootstrap Theme - Footer - Scripts - User Search Scripts

If the site has one or more of these widgets customized the system will check if the website has these custom widgets and if each widget does not have present brilliantDirectories::cdnUrl(). If one or more of these widgets are missing this code, a pop up will display with a recommendation:

And the setting will display a warning indication which of these widgets need to be updated or disabled:

To fix this, there are a couple of options:

1. Disable the custom widgets that are indicated in the warning message.

2. Keep your custom widget, making sure to include the  brilliantDirectories::cdnUrl() code, by comparing the custom and default widgets and adding it in the right section.


Thank you for leaving a rating!
Did you find this article helpful?
0 out of 0 people found this article helpful so far
Can't find what you're looking for? Get in touch
How can we help?
Send your question below and we'll get back to you as soon as possible.
Cancel
translation missing: en.kb.default.contact_form_error
×
Thanks for your message!
Thanks for your message!
×