Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/422#discussion_r59051171
  
    --- Diff: cordova-lib/src/cordova/lazy_load.js ---
    @@ -147,10 +147,7 @@ function cordova_npm(platform) {
     // Returns a promise that resolves to directory containing the package.
     function npm_cache_add(pkg) {
         var npm_cache_dir = path.join(util.libDirectory, 'npm_cache');
    -    // 'cache-min' is the time in seconds npm considers the files fresh and
    --- End diff --
    
    How will it work if I remove the caching altogether - sounds like a design 
change.
    
    It does get a default `cache-min` of 10 seconds which if it is fine for 
npm, should be fine for us:
    
https://github.com/npm/npm/blob/2a5977e0c65b244e92d848fcd56f2f80ba8cdf3b/lib/config/defaults.js#L125.
 Their default scenario is quite similar to ours.
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to