RequireJS Publisher: add simple caching

This version of the cache is not synchronized so concurrent
updates of the same file will produces incorrect results.