Expose additional arguments to root in order to decide if cache is stale
Add logic to attach warning to header if stale
Add test for stale cache