Re:A foreign seller has hijacked my Amazon Klein bottle listing
by billpg on Wednesday June 30, 2021 @07:53AM
(#27687398)
If you'll excuse me, I'm going to be looking at HTML cache add-ons for my WordPress site.
[ Parent
| on HN ]
Re:A foreign seller has hijacked my Amazon Klein bottle listing
by eatonphil on Wednesday June 30, 2021 @08:10AM
(#27687509)
Yes you can do that or there are static site generators backed by MySQL too. So your data and configuration site can still be dynamic but your served site will be completely static.
The only difference between this and adding a cache is that the cache is another piece of software in your production stack.
Re:A foreign seller has hijacked my Amazon Klein bottle listing
by Axien on Wednesday June 30, 2021 @09:07AM
(#27688012)
Can you recommend a good static site generator?
Re:A foreign seller has hijacked my Amazon Klein bottle listing
by eatonphil on Wednesday June 30, 2021 @09:10AM
(#27688040)
For WordPress? No. I don't use it. I just know SSGs for it exists and not enough people/companies use it (when they're using WP in the first place). :)
Vanilla SSGs are so simple I ended up writing a basic one out of a markdown and jinja parser in Python every time (for example: https://github.com/eatonphil/notes.eatonphil.com/blob/master...).
If I were not lazy I might learn one of the major ones like Hugo.
It doesn't matter what SSG you pick, they all produce the exact same kind of thing.
Re:A foreign seller has hijacked my Amazon Klein bottle listing
by beermonster on Wednesday June 30, 2021 @02:20PM
(#27691841)
When my friends webserver died and they had no backups, I found the wayback machine was s good (historic) static site generator ;-) Just mirror it from there and voila.