Improved the CacheInserter to write on a StringIO directly
Fixed a merge error
Added a forgotten stringio.reset()
Merge branch 'enhance-cache-inserter' into fix-site_data