Hi! This is an awesome program!
I manage a school's network and was wondering if it was possible to setup a central cache on a fileserver so each computer in the school doesn't have to use up more bandwidth then it needs to. It also means that the cache will grow quite quickly as more and more people using it, plus each new person gets a better and better experience as the central cache grows.
If anything is not already in cache, the client computer downloads the data but then deposits it in the central cache.
I've got a spare 750Gb sitting here ready to fill with data! I just need to know if it's possible and how to set it up.
Cheers, Damon
You can use any Caching HTTP proxy and that will server as the central cache. You may need to make some settings changes to make caching tiles more aggresive.
Thanks Jonathan!
The HTTP proxy doesn't seem to be caching the imagery at all. Each client is downloading the data locally... one says it's got 73Mb, another says 3Mb etc. Where do the files get put on the local hard drive? If I can redirect the cache folder to somewhere on the network it might be easier to manage. Also, is there an easy way to preset the observatory location, time zone etc. so I can deploy it? Even registry entries would be ok.
Don't worry about my last post, I looked through the WWTExplorer.exe.config file and found my answers there.
Changing the "CacheDirectory" to a UNC path name seems to be working, as well as the observatory location etc.
I can't find "CacheDirectory" in WWTExplorer.exe.config. Could you please post the lines needed? The cache is now in a directory that is in my roaming profile and will slow down the logging on and off of my user account.
Dennis
Hi Dennis,
That's because it's misspelt 'CahceDirectory', not 'CacheDirectory'!
Keep in mind that you will have to edit your user profile copy of the config file, not the original file in program files folder.
The other way to do it is to change the setting in the original WWTExplorer.exe.config file, but then you will have to delete your \Local Settings\Application Data\Microsoft_Research folder in your user profile, then run WWT again to recreate the config.
Sorry, I didn't post the lines:
<setting name="CahceDirectory" serializeAs="String"> <value>\\SERVER\WWT_Cache\</value> </setting>
and
<setting name="LocationName" serializeAs="String"> <value>Cairns, Far North Qld</value> </setting> <setting name="LocationLat" serializeAs="String"> <value>-16.60</value> </setting> <setting name="LocationLng" serializeAs="String"> <value>145.45</value> </setting>
Thank you very much. It works!