Hello. I noticed that the speed of the new templates has become noticeably worse than it was before.
If we compare the demo of the old and new template, then this difference is clearly noticeable.
Previously, the hero theme was much faster.
Now you can open the demo of the Hero template and the Market template and see the difference in page speed. Is this because the theme was rewritten in Vue and has not yet been optimized?
old theme: http://markettheme.grandnode.com/
new theme: http://hero.themes.grandnode.com/
Performance of the grandnode theme vs the grandnode 2 theme
Monday, November 25, 2024 4:22:49 PM
First of all, it's hard to compare both sites, because we host them on totally different machines. Secondly, the new demo contains every theme and a few more demo on a single installation, the older demo was independent and contains only a single store. And finally, the final customized, store, should do some optimization stuff to provide better performance.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
Andrei wrote:
In the GrandNode 2.0 you have a server-side bundling. In the main directory of Grand.Web project, you will find bundleconfig.json file. Inside you can define what should be minified and bundled. If you want, just add the theme files to it and run the bundler directly on the server.
Thanks for the reply.
I didn't find any settings for combining and minifying JS/CSS, the ability to deliver critical JS/CSS to a string, and deferring all non-critical JS/styles.
The frontend doesn't support esbuild/webpack, right?
I didn't find any settings for combining and minifying JS/CSS, the ability to deliver critical JS/CSS to a string, and deferring all non-critical JS/styles.
The frontend doesn't support esbuild/webpack, right?
In the GrandNode 2.0 you have a server-side bundling. In the main directory of Grand.Web project, you will find bundleconfig.json file. Inside you can define what should be minified and bundled. If you want, just add the theme files to it and run the bundler directly on the server.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
1
Use the following command - dotnet tool install --global BundlerMinifier.Core.Tool --version 4.4.6 and then just run the "bundle" command in the main directory of your store. Of course when you customize the bundleconfig.json file.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0