Added caching to some API routes/graphs on maz