Please submit your changes as a pull request.
Also, if the cache is site-specific, perhaps we should be pushing this code into ElggSite?