The next part will be some general tips and tricks about CSS/JS and then we will release a full blown article containing all parts. so lets cut the intro and get right into it.
rel='preload'and yes you can use
<link>for scripts as well - Resource
In order for the browser to display your web page and use the styles you specified in the external CSS files, it has to load them first. This means that your web page won't be displayed until these files are loaded. In order to speed up the loading of your website, you can inline the parts from the external CSS files which are needed to render the above the fold content. After loading the page you can instruct the browser to load the rest of the CSS files via JS - There are many tools that you can use to achieve this but this one explains good enough and works: https://www.sitelocity.com/critical-path-css-generator
Also, check penthouse as well, Can be set up easily as a task runner task!
https://www.npmjs.com/package/penthouse - includes CSS for critical path above the fold in the HTML head.
Our very own Sven played around with both penthouse and critical and let me just quote him in our slack chat here:
Sven Berg Ryan
criticalis a wrapper for
penthousewith the main advantage that it delivers
critical cssfor several breakpoints in one file.
document.writespecifically for scripts injection - Resource
More and more states in the EU are making Google Analytics illegal, and if that isn’t enough to make you look for an alternative web analytics software, here is another strong argument:
As Google itself announced that they’ll begin turning off Universal Analytics by July 1, 2023 there was great confusion in the market and companies are uncertain on how to proceed. Within this blog post we want to explain the most common terms, compare Google Analytics 4 to Matomo Analytics and inform companies about their choices.
This year's social gathering took place in Kalle (Lofoten) in Northern Norway. The whole international team met up and had four days full of activities including presentations, strategic planning and lots of fun.
The Liberian Observer is Liberia's first independent daily newspaper that envisions expanding into new markets and becoming the leading national digital newspaper. After thoughtful investigation they chose Ramsalt as digital partner.