Add caching option to monitoring script

Change-Id: I444fe8e3a25b09ef579283499ef08bd8342a062d
Merge "Add caching option to monitoring script"