1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/caches
logmanoriginal 5de03d6b9f [FileCache] Use serialize instead of json_encode
json_encode causes high memory footprint on large input data,
where serialize is less problematic.

Example: When using AcrimedBridge items contain pictures in
raw format (entire picture) which leads to a file size of about
2MB using serialize. json_encode will allocate about 98MB of
memory for encoding, causing memory exhausion errors (PHP
allows for 128MB of memory by default)
2017-02-18 12:54:26 +01:00
..
FileCache.php [FileCache] Use serialize instead of json_encode 2017-02-18 12:54:26 +01:00