Remove redundant append
Move maxCachedFileSize, maxTotalCacheSize to config
Merge branch 'feature/config' into dev