simple example of an application that causes the data to be cached for later go to the database when possible