hide cache button when no write access