Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment: cloudflare images #3538

Closed
wants to merge 3 commits into from
Closed

experiment: cloudflare images #3538

wants to merge 3 commits into from

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Apr 26, 2024

This serves all our images which are currently being served via either /images/published or via assets.ourworldindata.org via cloudflare workers, using an experimental worker set up at images-test.owid.io - see https://github.com/owid/cloudflare-workers/pull/20 for that part.

The caveats of CF Images apply: Cloudflare is not always happy to churn out pngs, and will often times produce jpegs instead, without us having much control over that. But otherwise, this all is pretty straightforward.

As an experiment, I also added some hacky code that also serves WP uploads via Cloudflare images.
We don't want to actually do this, because we already have resized variants available for all of these, and no new WP images are being uploaded.

@marcelgerber marcelgerber changed the title cf images experiment: cloudflare images Apr 26, 2024
Copy link

This PR has had no activity within the last two weeks. It is considered stale and will be closed in 3 days if no further activity is detected.

@github-actions github-actions bot added the stale label May 11, 2024
@github-actions github-actions bot closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant