nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

feat: use etag in blob.serve #147

Closed Barbapapazes closed 3 weeks ago

Barbapapazes commented 3 weeks ago

fix #142

Add etag when serving blob to save bandwidth and speed up loading.

The server sends the etag and the browser adds if-not-match when asking the blob.