cache setup