3 ms·
Webpack could help with Wordpress sites. Whether or not it is worth the effort is another question. Most WP sites might not benefit from the effort. Also, yes,
by WorldMaker 9y ago
Webpack could help with Wordpress sites. Whether or not it is worth the effort is another question. Most WP sites might not benefit from the effort.
Also, yes, HTTP2 throws in additional considerations, though the surprise for me is that I've found even with direct filesystem access like in an Electron app, with no "connection overhead" like HTTP1.1, webpack bundles can be quite effective for performance gains. Especially with modern ES Modules, it can still be extremely effective to load a sequence of larger tree-shaken JS file all at once than a large number of tiny files.