Adding exceptions to this file and redis cache functions