-
Task
-
Resolution: Released
-
Should have
-
None
-
5
-
Performance, Responsiveness
-
Sprint #147
Most of the static files we serve from the greenpeace.org domain are cached in Cloudflare's edge servers, which means they are geographically close to the end user, so the round trip is almost instant.
However for the page itself the current settings do not allow it to be cached. So each request needs to go to the same physical server somewhere in the US, adding a large amount of latency, especially if the region is on the other side of the world.
We already cache these pages in openresty, so they should already be cachable. But maybe still worth to double check this.
We may want to set up the cloudflare wordpress plugin at the same time, as it allows to initiate cache purges for pages/attachments that were modified or deleted. Otherwise stale content will be served for up to 30 minutes.