Updated so that when clear cache is called from the dashboard, depending on the
page caching library implemented, the Flush() method will delete all the app_profiler
data