MongoDB backend: Store responses in document format instead of serialized binary #576
Labels
backends
Features or changes related to specific backends
enhancement
serialization
Features or changes related to response serialization
Milestone
Currently, all backends (except filesystem) store responses as serialized blobs. MongoDB's internal document format, BSON, can support all the types needed to store response data as a plain document. This would have little performance benefit, but it would make it easy to view cached response data. It would also make it easier to add a TTL index for #362.
To do this, a
CachedResponse
object just needs to be "unstructured" with the existingCattrStage
class.The text was updated successfully, but these errors were encountered: