We recommend enabling GZIP as it reduces the size the user needs to load when the piwik.js file is requested. For the standard Piwik tracker, this will reduce the size from about 60KB to 20KB.
<link rel="dns-prefetch" href="//example.innocraft.cloud">
To boost the loading of the Piwik tracking file, you can add the following HTML into the header of your website:
<link rel="preload" href="https://yourpiwikdomain.com/piwik.js" onload="embedTracker()" type="script" crossorigin>
<head> of your website, this should not be needed.
More performance improvements
Read our first blog in the series at Different ways of embedding the Piwik tracking code for faster website performance