christopher-kapic / astro-blanding

A template for agencies/businesses to get a landing page/website built quickly using Astro, Svelte, and TailwindCSS
16 stars 4 forks source link

Add image optimization #5

Closed christopher-kapic closed 2 years ago

christopher-kapic commented 2 years ago

Use @astrojs/image to add image optimization. See if we can use headers so images would be cached on a CDN if using SSR.

christopher-kapic commented 2 years ago

This is done, but not perfect. The <Image /> component has some restrictions. See the readme.