Added support for purge API.
Adjusted caching rule for only caching anonymous user pages.