question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `--use-cache` option

See original GitHub issue

Maybe 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:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
posvacommented, Dec 29, 2016

I think this should just be by default and always check. This would also enable offline usage

1reaction
posvacommented, Jan 3, 2017

@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 and vue cache clear. But I don’t think this is necessary since they update automatically

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found