Made revalidation sooner.
Merge pull request #247 from unikent/bug/correct-cache-codes-on-api

Ensure Caching Policy Is Correct