diff --git a/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx b/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx index c6e774f9836..c80602f859e 100644 --- a/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx +++ b/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx @@ -143,7 +143,7 @@ Let's imagine one of your users makes a request for a resized cat (kitten?) imag The cat image goes viral, and so now multiple users want to see the resized image. -![Cache hit flow](/images/blog/launch-week-6/day-2-storage-resize/cache%20hit.jpg) +![Cache hit flow](/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png) 1. The request hits our globally-distributed API Gateway. This gateway reads the image metadata from a global KV store. 2. Using the Cache Key the Gateway tries to find a cached object in our CDN. Because this image has already been resized, it returns it directly from the cache. @@ -154,7 +154,7 @@ To complete this architecture, we need to keep the global KV store (which stores Using our cat picture from above: -![Cache refresh flow](/images/blog/launch-week-6/day-2-storage-resize/cache%20refresh.jpg) +![Cache refresh flow](/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png) 1. You update the cat picture to a dog picture. This triggers an `ObjectCreated:Put` event from the Supabase Storage server. 2. A cache manager service subscribes to these events and updates the global metadata store with the new Etag. This takes around 60 seconds to propagate globally. diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache hit.jpg b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache hit.jpg deleted file mode 100644 index 9171d3756e4..00000000000 Binary files a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache hit.jpg and /dev/null differ diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache miss.jpg b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache miss.jpg deleted file mode 100644 index 19fb205859c..00000000000 Binary files a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache miss.jpg and /dev/null differ diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache refresh.jpg b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache refresh.jpg deleted file mode 100644 index f3d463fab64..00000000000 Binary files a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache refresh.jpg and /dev/null differ diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png new file mode 100644 index 00000000000..a36bc8533e5 Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png differ diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png new file mode 100644 index 00000000000..1647bac58d8 Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png differ diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png index 6c9670f8339..43ce5b51539 100644 Binary files a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png differ diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml index ce3268ce2d9..d5f1e387aca 100644 --- a/apps/www/public/rss.xml +++ b/apps/www/public/rss.xml @@ -8,9 +8,9 @@ Mon, 12 Dec 2022 16:04:00 +0000 - https://supabase.com/blog/storage-image-reising-smart-cdn + https://supabase.com/blog/storage-image-resizing-smart-cdn Supabase Storage v2: Image resizing and Smart CDN - https://supabase.com/blog/storage-image-reising-smart-cdn + https://supabase.com/blog/storage-image-resizing-smart-cdn We're introducing new features for Supabase Storage: Image resizing and a Smart CDN. Mon, 12 Dec 2022 16:04:00 +0000