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

experimental: support image processing in docker template #4762

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Conversation

TrySound
Copy link
Member

Added image a route for image processing in docker template based on ipx package.

There a few things to note

  • it does not have persistent caching and rely only on client cache control
  • performance is not good for remote images
  • the package adds 30MB to node_modules, though it will be fixed soon

There is a DOMAINS env variable with comma-separated hosts to restrict remote images processing similar to netlify and vercel.

Can be tested only locally for now.

Added image a route for image processing in docker template
based on ipx package.

There a few things to note
- it does not have persistent caching and rely only on client cache control
- performance is not good for remote images

There is a DOMAINS env variable with comma-separated hosts to restrict
remote images processing similar to netlify and vercel.

Can be tested only locally for now.
@TrySound TrySound requested review from kof and istarkov January 20, 2025 10:22
@TrySound TrySound merged commit 51ae04c into main Jan 20, 2025
15 checks passed
@TrySound TrySound deleted the ipx branch January 20, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants