Hacker News new | ask | show | jobs
by possibleworlds 612 days ago
Just install any old file based caching plugin like KeyCdn Cache Enabler or Gator Cache and a Wordpress install becomes a static site for every single request until content is updated. Takes all of 5 minutes, win win for all involved.
1 comments

A bit off topic since the thread here was related to performance, but caching in WP doesn't solve the other big problem of security.

A caching layer can indeed make WP act much like a static site, though the cache still lives on your server rather than a global CDN layer. Behind that cache, though, you still have the live WP server with all the potential security risks that come with it.

Caching is a nice perf gain, but if you want a static site anyway there are still major gains to be made with a proper static site distributed globally.

Aside from some once-in-a-blue-moon security breach events, how does better security help a salesperson sell more stuff?
If gross sales is literally the only important metric in software engineering we've already failed.

Though on the cost side security breaches can be expensive, as can the endless task of updates and maintenance required for a live server. Live servers can also be a scaling bottleneck, often that isn't too important but it would be for anything that is highly seasonal or has large spikes of use during Black Friday events or similar.

> If gross sales is literally the only important metric in software engineering we've already failed.

It literally is the only important metric is commercial software development. Not sure how you could delude yourself into thinking otherwise.

Context matters, you've boiled it down way too far. Gross sales is a primary metric for the business, that isn't necessarily and shouldn't be a primary goal for the engineers building the software.
Context does matter, and you're missing the forest for the trees. It's native to think there's any other metric that matters.
>from some once-in-a-blue-moon security breach events

So once every 2 years? Blue moons are not that uncommon.