News for hackers. Stuff that matters.
Re:Static web – back to the roots? by alfonsodev on Saturday May 25, 2019 @04:02AM (#20007680)
Aren't static pages similar to a cache ?

Wouldn't you obtain the same benefits while still keeping Wordpress if you would use something like Varnish[1] or CloudFlare Edge cache[2] ?

[1] https://www.varnish-software.com/wiki/content/tutorials/word...

[2] https://wordpress.org/plugins/cloudflare-page-cache/

Re:Static web – back to the roots? by jakozaur on Saturday May 25, 2019 @04:07AM (#20007697)
Static website is a controlled cache to the extreme, when you prepopulate cache when you create the content.

Benefits on top of regular cache:

+ maintenance cost: you need to upgrade wordpress, why my static website doesn't require any work over years

+ security: small vulnerability surface

+ cost: hosting even popular static website is cheap

Re:Static web – back to the roots? by ivanhoe on Wednesday May 29, 2019 @04:26PM (#20045004)
You certainly would. I had very good results on clients' sites using a combination of varnish, cdn for images, and firewall to block any external probing - basically allowing only clean url GET requests to predefined set of urls, and blocking admin area access to anyone except whitelisted IPs. It's just as fast as a static site would be, and almost as secure. It takes more maintenance and costs a lot more to setup, but you get the benefits of CMS that all content authors/editors know how to use, so clients didn't mind it.