GithubHelp home page GithubHelp logo

Comments (5)

dead-horse avatar dead-horse commented on May 18, 2024

不推荐把不同源的 cache 混用,不过你可以通过 --cache=xxx 来指定你的本地 cache 位置

from cnpm.

fengmk2 avatar fengmk2 commented on May 18, 2024

不同源返回的etag不一定一样,cache会失效的。
2014-5-25 下午1:36于 "dead_horse" [email protected]写道:

不推荐把不同源的 cache 混用,不过你可以通过 --cache=xxx 来指定你的本地 cache 位置


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-44113335
.

from cnpm.

g8up avatar g8up commented on May 18, 2024

无法修改 cache,是我的姿势不对吗?

C:\Users\Sigma>cnpm set cache d:\.cnpm

C:\Users\Sigma>cnpm config get cache
C:\Users\Sigma\.cnpm

不希望 cache 占用我的 C 盘(SSD)

from cnpm.

fengmk2 avatar fengmk2 commented on May 18, 2024
  • npm config get cache
  • cnpm config get cache

看看目前的配置

from cnpm.

g8up avatar g8up commented on May 18, 2024

@fengmk2

C:\Users\Sigma>npm config get cache
D:\program files\npm-cache
C:\Users\Sigma>cnpm config get cache
C:\Users\Sigma\.cnpm

from cnpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.