Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn’t that make managing tags and categories more difficult?


It's a little more difficult but not by much.

On WordPress, you can change a tag, hit save, and the change is live.

On a static site, the change would look more like: edit a file, rebuild the site, deploy to production.

I left WordPress for static sites 8 years ago and never looked back. It's so nice to eliminate the database and web server from your stack and have everything under source control.


On my internal network servers I use wp-supercache to generate static pages on page visit, then I use a shell script that iterates through all possible article, rss, tag, and category pages with curl at varying intervals, forcing a cache build. In parallel I rsync all the images and statically built pages to my public edge. The public only gets to interact with content that is completely static and don't have php installed at all. It is easy enough, and the only real way to allow people to install whatever dumb wordpress plugins that they want on the internally installation without getting the sites owned all the time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: