Cache: Print warnings just 1000 times rather than forever