News for hackers. Stuff that matters.
Re:Cloudflare working on Cloudflare Pages, for deploying and... by baskire on Sunday December 06, 2020 @07:06PM (#25327916)
Wouldn’t Wordpress + cdn basically give the same performance but with more functionality.

The only time the request needs to hit the origin is if nobody fetched the page.

Re:Cloudflare working on Cloudflare Pages, for deploying and... by Meekro on Sunday December 06, 2020 @08:25PM (#25328466)
Depends on what you mean by Wordpress+cdn. If your CDN is only caching your css and jpg files, then every page load still has to go back to your main server and talk to your database. This is how "standard" Cloudflare caching works. It's pretty good, but a page load from Australia would still have to travel all the way to your PHP+MySQL server in the US and back again.

To speed it up further, you can tell Cloudflare to cache your HTML pages. Now you've eliminated that round-the-world trip (for most visitors), but you've also lost some of the dynamicness of your site. At that point, you're basically building a static site by different means.

Re:Cloudflare working on Cloudflare Pages, for deploying and... by youngtaff on Monday December 07, 2020 @03:46AM (#25330430)
There's now an official Cloudflare Wordpress plugin that makes sites hosted this way incredibly fast.

In the confidence it caches the HTML, and the plugin triggers a CDN purge when the HTML changes

Coupled with Cloudflare's standards support (TLS 1.2, H2, H3), and their image optimisation services it's really great for performance.

Just got to remember to disable many of the WP 'speed optimisation' plugins that may be installed as they actually can cause more speed issues.

Re:Cloudflare working on Cloudflare Pages, for deploying and... by firecall on Sunday December 06, 2020 @07:49PM (#25328217)
It all depends...

But probably not against a static page.

Wordpress is still PHP and a Database and whatever crazy plugins, templates and front end builders are involved.

Depending on how much JAM you have in your STACK, your site/app may or may perform better than WP.

I build a ton of sites in Jekyll, which are static sites and not JAMSTACK. The two get conflated.

Re:Cloudflare working on Cloudflare Pages, for deploying and... by tyingq on Sunday December 06, 2020 @07:32PM (#25328076)
Assuming you leverage the KV store for some things that are read-write or very dynamic, it should perform better.