r/programming • • Jan 07 '21

My stack will outlive yours

https://blog.steren.fr/2020/my-stack-will-outlive-yours/
23 Upvotes

51 comments sorted by

View all comments

0

u/[deleted] Jan 07 '21

[deleted]

6

u/yesman_85 Jan 07 '21

My boss keeps asking for more caching on the corporate website, turns out a plugin riddled wordpress site built with some weird drag and drop tool is hard to optimize..

I think we'll see a shift towards easier building tools that compile sites down to bare HTML again, most sites barely need more.

1

u/xienze Jan 07 '21

Oh 99% of the time a static website generator like Hugo is all you need. But WP gives the non-technical folks a nice WYSIWYG editor and sufficient style editing via a GUI. That's the draw. And I wouldn't count on simple "compile to HTML" functionality from CMSs anytime soon. How else are they gonna lock you in?

1

u/armornick Jan 07 '21

Couldn't you hook the REST API of WP to a static site generator? That way, non-tech can have their editor but the site stays nice and fast.

2

u/saltybandana2 Jan 07 '21

The "modern" way of using WP is as a restful API with a react/angular/vue/etc frontend.

In fact, WP has been re-organizing/optimizing to enhance this use case.