Make SoupCache accessible by multiple processes
I want to use the SoupCache on a desktop application and have the cache be persistent across application restarts. However, I'm concerned that if the user has multiple windows open at the same time, it might cause cache corruption. According to the SoupCache documentation:
The cache isn't safe to access for multiple processes at once
I was wondering if we could fix the cache to work for that use case somehow.
One way might be to implement the cache as a sqlite database, because that will allow a bit of concurrency: