Hacker News new | ask | show | jobs
by fogihujy 1704 days ago
Yeah, if you're on cheap shared hosting (which many, many WordPress sites are), then you're going to hit various limits and have your site disabled the day Ahrefs and Majestic 12 both decide to crawl your site the same day.

A properly set up caching plugin basically saves the pages as plain HTML and serve them with mod_rewrite instead of invoking PHP every time. The speed difference for an individual page load might not be that much for a properly optimized site, but the overall resource usage will be much lower.

1 comments

> The speed difference for an individual page load might not be that much for a properly optimized site, but the overall resource usage will be much lower.

Is that what you believe or do you have benchmark results?

I work helping people set up things like caching. On the three sites I looked at today, caching plugins had an immediate and positive effect.

That serving static files use less resources than firing up PHP should hardly be surprising.

Sure, mod_lsapi and FastCGI are fast, and opcache is a godsend, but static files are still going to be faster than doing multiple MySQL queries, triggering plugins, rendering the HTML, doing whatever post-processing the plugins do, and then serving the result.