![]() ![]() This reply was modified 7 years, 11 months ago by Tom. These scores are pretty important to me, and I’m working to improve them all the time □ We also have every single add-on activated. Note that our demo has a lot of images and videos, which do make a difference in these tests. Just for the record, here are some scores for GP (free) and GP Premium:ħ8/100 Mobile (increased to 79 with this plugin: )ĩ2/100 Desktop (increased to 93 with this plugin: ) Meaning, no minify is needed on the 3 sites I have built with GP, my pagespeed is great, and I reduced page bloat by an average of 1000 lines of HTML code compared with my old themes/plugins – Now that’s minified □ I know that isn’t an answer, but with the small footprint of GP sometimes less is more. I’m sure Tom will have some quality input on this, but I use Generatepress because it is feature rich *without* adding 25 plugins to get the look and feel I want. Drop a package. A cache is just as good or better (some plugins do both). Both extensions mentioned in other answers seem abandoned, but the good thing, Visual Studio has built-on support for npm and Grunt/Gulp tasks - that can 'watch' a file, and minify/compile JS, CSS, SASS and everything else you have in your project. css files that are needed for your site to display, are often not found after the minify plugin combines them. If there are multiple instances of the same function or call, then there is a conflict which breaks the site.Īlso, the. Lets call them a.js and b.js and 2 are unique to each page. Of these four files, 2 are common across all pages. However, a single page requires only four script files on an average. ![]() The entire project contains 40+ JavaScript files. js files, they usually try to combine multiple. How to combine and minify Javascript files on per page basis using Grunt. The problem is mostly with javascripts being improperly terminated when combined with other scripts. For what it’s worth, I have 32 sites and have been building with WordPress for 10 years and have never found a “minify” plugin that doesn’t break my sites (at least partially). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |