Adds caching to the detail view after passing in the earthquake id as the key and the template as the value, which seems to remedy the earlier behavior
Adds cache to index page. stops short of writing a decorator because I am tired