Demonstrates how to have a static cache variable (array) which is capped to a maximum count of entries, with last-in-first-out.