Add caching support for static loader