Zum Inhalt springen

DNN/ 2shine PageSpeed and Performance


We care about Page Speed

Having top-notch PageSpeed is critical for both your SEO rankings and the user experience of your customers.

2shine is designed to have amazing page speed – it scored 99 on mobile when the site launched in December 2021.

However, it's easy to degrade, so please read our tips and tricks below.


Disable jQuery for Visitors

  1. 2shine does not require jQuery
  2. jQuery can cost you 5 to 10 points in Google PageSpeed
  3. You should disable it by default and only enable it in code that truly requires it

DNN actually has a setting to do this, but it's not visible in the UI.

👉 Here's a checklist to disable jQuery by default


Avoid Font-Icon Libraries

Do you love FontAwesome? We do!

However, including the entire font and the large CSS can cost you 10-20 PageSpeed points. So if you care about SEO and PageSpeed, here are some recommendations:

  1. Icons in the theme are usually limited to 2-3 items. Simply inline the SVGs (see the image to the left).
  2. If your content requires dynamic icons, use a system that fetches the SVG files instead of preloading the entire font.