Add `--use-cache` option
See original GitHub issueMaybe we can download the repo to ~/.vue-cli/repos
instead of a random temp path so that we can use cached version later. 🤔
How do you think?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Setting the "Usecache" option to True on a K2 Connect ...
The "UseCache" feature is a function of the ERPConnect client SDK, used to cache information about BAPIs (Tables, Structures, Fields). It does ...
Read more >Next useCache option set to false which causes each request ...
Next useCache option set to false which causes each request to require everything all ... I'll only add that I think this issue...
Read more >Cache.add() - Web APIs - MDN Web Docs
The add() method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache.
Read more >Reading and writing data to the cache - Apollo GraphQL Docs
You can read and write data directly to the Apollo Client cache, without communicating with your GraphQL server. You can interact with data...
Read more >Use the cmd line option -usecache to drastically reduce server ...
Choose "Experiment Fast Load Cache" launch option (use add "-usecache" to your launch commandline manually). After the first & second times that ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this should just be by default and always check. This would also enable offline usage
@likun7981 I actually think we should always check and add an option for offline like yarn’s
--offline
(only works if cached, no remote check). There’s also--prefer-offline
(download if no cache) which I don’t think it’s necessary since we should always check for the newest version and cache it. If we use the cache by default and make users use the --remote option manually to update, a lot of people will forget. However, if we have a remote first strategy, it’ll work out of the box.we can even add a
vue cache update
to update all templates cached andvue cache clear
. But I don’t think this is necessary since they update automatically