enable caching for os_stats #1892