Fix/cache switch

Add compression to chi for memcached
Perform Santiy check on SwitchConfig coming from the cache