Image Optimization
Self-hosted image optimization.
The images below are served through the built-in next/image optimizer. They are resized, converted to modern formats, and cached automatically, all on the VPS.
Optimized local asset
/file.svg served via <Image> with automatic optimization.
Optimized local asset
/window.svg served via <Image> with automatic optimization.
How to verify
- Open DevTools and inspect the image requests in the Network tab.
- Notice the images are served from
/_next/image?url=...with format and size parameters. - The optimized versions are cached in
.next/cache/imageson the server.
What this proves
- •Image optimization is not platform-exclusive. It works in standalone mode on any Node host.
- •Optimized images are cached on disk, so repeated requests are fast.
- •No third-party image CDN is required.