Microsoft Research Community

How to setup a central cache store on LAN

rated by 0 users
This post has 7 Replies | 2 Followers

Top 150 Contributor
Posts 5
Gaross Posted: 05-16-2008 2:15 AM

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

 

Top 50 Contributor
Posts 18

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.

Top 150 Contributor
Posts 5

 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. 

Cheers, Damon

 

Top 150 Contributor
Posts 5

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.

Cheers, Damon

 

Top 500 Contributor
Posts 2

 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

Top 150 Contributor
Posts 5

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.

Cheers, Damon 

Top 150 Contributor
Posts 5

 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>
 

Top 500 Contributor
Posts 2

Thank you very much. It works!

Page 1 of 1 (8 items) | RSS
©2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Feedback