Use cache before downloading?

Glad it works now! Technically, moduleClient.cache('/', 'ALL') is the same as rs.caching.enable('modulename/').

Did you check the console when trying the path with an empty string? I’m pretty sure that would trigger a console error from this line. But also, if you just want to cache the module’s root with the default caching strategy, you can just use moduleClient.cache() without arguments.

Let’s keep this thread about caching, so it stays on topic. If you’re still having this issue, please start a new topic about it (or create an issue over on GitHub, if it looks like a bug). I’m sure we can sort out what’s happening there. Thank you!