initial framework for advocacy views query cache