Fix Deprecated mongo connector
Do not cache theme if cachePage is false