Re:Delivering WordPress in 7kb
by misterkola on Thursday July 12, 2018 @07:31AM
(#17513557)
Why use wordpress at all? Just create a static webpage at this point.
[ Parent
| on HN ]
Re:Delivering WordPress in 7kb
by giancarlostoro on Thursday July 12, 2018 @07:37AM
(#17513591)
Technically you could create a static webpage from the WordPress one.
Re:Delivering WordPress in 7kb
by dvfjsdhgfv on Thursday July 12, 2018 @07:56AM
(#17513667)
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
by theandrewbailey on Thursday July 12, 2018 @08:30AM
(#17513782)
Couldn't you put WP behind a reverse proxy and cache the hell out of it?
We cache the hell out of our WP marketing site. Cloudfront > Varnish > Apache > OPCache > MySQL Query Cache. It feels fast to visitors. People in the admin area still suffer.
WordPress themes are notoriously bloated and 1/4 of the web is powered by WP.
As a developer I'm not too happy about the trend I've seen in the past couple years of 'monolithic' WordPress themes with tons of JS and other code, because making even simple changes to them can get extremely complicated. I think they caught on for two reasons (1) they often have interactive 'builders' that come with widgets you can drag and drop (contact forms, slideshows, etc.) and (2) The whole design trend of things that change as you scroll--'parallax' elements and dynamically-resizing headers, etc.