Always generate everything in the cache. If a file cannot be generated but can be found in the site sources or shared sources, the file is copied to the cache.
Added several target patterns, necessary in new setup
Must use try/catch in loop checking every source pattern to make broker continue if first source pattern doesn't match