Delivering WordPress in 7kb
css-tricks.com
Delivering WordPress in 7kb
1–10 of 59 posts
Re: Delivering WordPress in 7kb
#2What's the big deal? Wordpress can be lean on the code is delivers? It certainly can't be lean on the backend. There's also a helper functions for adding tons of classes to elements everywhere so you can "patch" CSS for certain sites / categories only, clearly not for the target audience that values minimalism.
Re: Delivering WordPress in 7kb
#3Why use wordpress at all? Just create a static webpage at this point.
Re: Delivering WordPress in 7kb
#4Why use wordpress at all? Just create a static webpage at this point.
Technically you could create a static webpage from the WordPress one.
Re: Delivering WordPress in 7kb
#5This is great and is a good lesson for anyone developing websites, regardless of the platform.
Re: Delivering WordPress in 7kb
#6You could also get it down to 0kb if WordPress just serves a blank response. Still uses a ton of resources on the server.
Re: Delivering WordPress in 7kb
#7This is a great reminder of what can be done by just “rethinking everything” and saying why do I NEED that plugin, lib, script, font lib etc. one thing not immediately obvious to me was that the responsive menu goes to a new page https://sustywp.com/menu/ and because the site is so fast it actually doesn’t feel like a page load. I haven’t really thought about this but hamburger menus get so complex these days it might just be easier to load a minimal page.
Something about this menu approach feels so clever but wrong at the same time.
Re: Delivering WordPress in 7kb
#8Why use wordpress at all? Just create a static webpage at this point.
WordPress themes are notoriously bloated and 1/4 of the web is powered by WP.
Re: Delivering WordPress in 7kb
#9Why use wordpress at all? Just create a static webpage at this point.
Technically you could create a static webpage from the WordPress one.
Not only you can, but in many (if not most) cases you should - because of performance and security benefits. The drawback is your site will no longer use the built-in WP search functions, but there are ways around that.
Re: Delivering WordPress in 7kb
#10While I mostly agree with the author's diagnosis, the cure proposed is a bit strange. First, it's not WordPress anymore. You could use any other solution then, including popular leaner alternatives. Moreover, the front-end is just a part of the equation. And if you're really focused on creating a realistic proposal, there are many other factors to consider, not just slimming down your blog and making it incompatible with the extensions and themes you're using.