← Showcase/next/image

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 icon

/file.svg served via <Image> with automatic optimization.

Optimized local asset

Window icon

/window.svg served via <Image> with automatic optimization.

How to verify

  1. Open DevTools and inspect the image requests in the Network tab.
  2. Notice the images are served from /_next/image?url=... with format and size parameters.
  3. The optimized versions are cached in .next/cache/images on 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.