Fix photo orientation.
Changed maxRevTreeDepth for compaction
Changed cache max size value
No more replication for file viewer, handmade fetch