Add option to disable django caching

This will allow the rest api to return up-to-date metrics at a resolution lower than one minute.