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

Explore hosting an optimising image proxy alongside nginx #1235

Open
PeterJCLaw opened this issue Oct 22, 2023 · 1 comment
Open

Explore hosting an optimising image proxy alongside nginx #1235

PeterJCLaw opened this issue Oct 22, 2023 · 1 comment
Labels
A: Infrastructure Relates to shared infrastructure A: Website Relates to the website (including documentation etc.)

Comments

@PeterJCLaw
Copy link
Member

Since we pull together the various parts of our website behind a single proxy machine anyway we could perhaps make that proxy also resize & optimise the images served to users. This would avoid needing to do this quite so aggressively in the source repos (we'd still want to e.g: optimise the file sizes, but wouldn't need to down-scale or reduce quality), while still delivering highly optimised images to users.

https://github.com/imgproxy/imgproxy/ is an example I've used before and isn't too hard to deploy.

@PeterJCLaw PeterJCLaw added A: Website Relates to the website (including documentation etc.) A: Infrastructure Relates to shared infrastructure labels Oct 22, 2023
@PeterJCLaw
Copy link
Member Author

PeterJCLaw commented Mar 18, 2024

Note: since we're now using GitHub Actions to publish all our sites we now have more options to do e.g: image optimisation at build time. That may make this approach less appealing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Infrastructure Relates to shared infrastructure A: Website Relates to the website (including documentation etc.)
Projects
None yet
Development

No branches or pull requests

1 participant