# Why We Built a Write Back Cache for Our Asset Library with Google Cloud Spanner

DevFeed: [Why We Built a Write Back Cache for Our Asset Library with Google Cloud Spanner](<https://devfeed.tech/articles/why-we-built-a-write-back-cache-for-our-asset-library-with-google-cloud-spanner-30777.md>)

Original publisher: [Read original article](<https://engineering.squarespace.com/blog/2024/why-we-built-a-write-back-cache-for-our-asset-library-with-google-cloud-spanner>)

Author: Wenshuo Liu

Published: 2024-03-21T20:46:59Z

Content type: article

Language: en

Sources: [Squarespace](<https://devfeed.tech/sources/squarespace.md>), [Squarespace Engineering Blog](<https://devfeed.tech/sources/squarespace-engineering-blog.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Library](<https://devfeed.tech/topics/library.md>), [Google](<https://devfeed.tech/topics/google.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [library](<https://devfeed.tech/tags/library.md>)

## AI overview

Squarespace describes why it built a write-back cache for its Asset Library, which is backed by Google Cloud Storage and an in-memory cache. The post introduces the Alexandria service and explains the storage and read-performance considerations behind the system.

## Source excerpt

Recently we introduced a write back cache to our Asset Library. This improvement makes life easier for both our customers and our developers. This post walks through the why, the why not and the how.