Cache server
See original GitHub issueCant seem to find much information about GVFS cache servers. What exactly are they and how do you set one up?
I have also observed servers behaving differently when it comes to the Cache Server: Default
(no --cache-server-url
on command line).
VSTS
Everything works just fine (and you get Using cache server: None
in the output).
Bitbucket (on-prem)
Cloning this way gives me the following error:
Cannot clone @ <path>: System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at GVFS.Common.Http.CacheServerResolver.TryResolveUrlFromRemote(String cacheServerName, GVFSConfig gvfsConfig, CacheServerInfo& cacheServer, String& error) in C:\Repos\GitHubUpdate\Internal\GVFS\GVFS.Common\Http\CacheServerResolver.cs:line 59
at GVFS.CommandLine.GVFSVerb.ResolveCacheServerUrlIfNeeded(ITracer tracer, CacheServerInfo cacheServer, CacheServerResolver cacheServerResolver, GVFSConfig gvfsConfig) in C:\Repos\GitHubUpdate\Internal\GVFS\GVFS\CommandLine\GVFSVerb.cs:line 308
at GVFS.CommandLine.CloneVerb.Execute() in C:\Repos\GitHubUpdate\Internal\GVFS\GVFS\CommandLine\CloneVerb.cs:line 137
Clone works just fine if adding --cache-server-url None
to the gvfs clone
command.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
What is Caching and How it Works
Examples include social apps during the Super Bowl or election day, eCommerce websites during Black Friday, etc. Increased load on the database results...
Read more >Different Types of Caching: Server Cache vs Browser ...
Server cache is also the type of web caching over which the end users don't have any control and is fully administered by...
Read more >What is Cache Server? | How CDN Content is Cached?
A cache server also referred to as a cache engine, is a type of network service that saves internet content and web pages...
Read more >Definition of cache server
A dedicated network server or a service within a server that caches Web pages and other files. Cache servers speed up access to...
Read more >We're running out of internet - Steam Game Caching Server
2:59 What's changed since our last Steam cache? 3:46 The hardware 6:30 We get ... We're running out of internet - Steam Game...
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 FreeTop 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
Top GitHub Comments
Re: the second half of the issue, it appears that Bitbutcket is returning a slightly different response to /gvfs/config than VSTS does, and that’s tripping up the cache resolving code. Regardless, GVFS should be more resilient to these differences, and if the service doesn’t advertise any cache servers,
Default
andNone
should resolve to the same thing. We’ll get this fixed in a future release.FYI: @sanoursa Issue fixed on the Bitbucket side of things in version 0.1.1.