Commit Graph

7 Commits

Author SHA1 Message Date
Shannon
32f88dba95 removes CompressedStorageAttribute, makes IPropertyCacheCompressionOptions which can be defined in DI to configure what properties can be compressed in memory and new IReadOnlyContentBase to provide some context to the IPropertyCacheCompressionOptions 2021-01-28 13:50:18 +11:00
Shannon
0cb4952338 Don't keep re-creating serializer settings on deserialize 2021-01-25 15:56:01 +11:00
Shannon
c3656d3e58 Adds notes fixes tests 2020-12-16 16:52:43 +11:00
Shannon
67a9b5bb97 Refactors the serialization of the content data that is stored in the nucache table. This had to change because we need to resolve content type data in order to check if the property should be compressed and we cannot do that data lookup while the data is being processed since we get an open data reader exception. This is fixed now by using a serializer factory instead so the Create method can do any initialization needed prior to running any serialization operation. Renames a few things so we dont have ContentNested (whatever that meant ) 2020-09-25 00:32:11 +10:00
Shannon
9a06b6291a Simplifies compression implementation, adds compression options to target all complex editors, ensures the options are per document type/property type 2020-08-26 15:57:13 +10:00
Shannon
c63bfb866b Adds MessagePack serialization for nucache 2020-07-03 12:11:05 +10:00
nzdev
578e1317a0 Introduce IContentNestedDataSerializer to allow injecting a custom serializer for nucache 2020-07-01 17:19:56 +12:00