added ability to preload cache for all static assets in static directory, the default for prod mode