![]() ![]() Make sure the port is ' 3128', and most importantly then at the bottom set ' Other HTTP traffic.' to use the proxy.SOME of the available Second Life viewers have the capability to allow you to specify that as much of your rezzing as possible should be done under the applicable land group. ![]() Enter the network address of the machine now running squid, in this case it's named 'MiniMac', If you are running the proxy on the same machine as you use for secondlife it will be 'localhost'. In Catznip, open the preferences ( CTRL+P), select the ' Setup' tab and press the ' Adjust proxy settings' button. The following instructions are Catznip specific, for other viewers please refer to their documentation. To start Squid and have it run when the computer starts This creates a 32GB cache with the files stored in /usr/local/squid/var/cache, you can make the cache as large as you like.Ĭreate Cache & Start up Script sudo mkdir /usr/local/squid/var/cache # what domains to apply the store url rewrite too.Īcl store_rewrite_list dstdomain. ![]() Storeurl_rewrite_program /usr/local/squid/etc/store_url_rewrite # this is the magic, convert the URL into something more static. # this is a local cache, prevent possible error # 32 GB cache size, can make larger later.Ĭache_dir ufs /usr/local/squid/var/cache/ 32000 16 256 Go to the refresh pattern section, roughly line 2754 and add "refresh_pattern /cap/ 259200 20% 302400" so it looks likeĪlmost done, now go to the very end of the file (press page down a lot) and paste the following Scroll down a few lines and to where it says Go to line 653 and comment out the following two entries. Line numbers quoted are correct at time of writing. In nano you can press CTRL+_ to go to a specific line number. This is a bit of a pain as the config file is very long. When back at the console, make the file executable with :Ĭhmod +x /usr/local/squid/etc/store_url_rewrite Then press CTRL+X to exit nano and save the changes. Sudo nano /usr/local/squid/etc/store_url_rewrite We need to create a little script to handle the fetching. Tar xvf squid-2.7.2 & cd squid-2.7.STABLE9Ĭompilation is pretty straight forward and doesn't require any special tinkering. The source code is available from here, we want the 2.7 version. You will need root (sudo) access and your password.įirst step is to install GCC and buildtools Use the terminal for all the instructions in this guide. ![]() The first time a texture / sculpt loads may feel a little slower, it will however load in at a higher resolution.This solution is entirely unsupported by the Catznip viewer team, while we would be interested to know if you have problems getting it to work, we wont be able to help you.Recycle an older computer and give it a new lease of life!.Easily shared by multiple computers, different viewers and other local Second Life users.Makes up for viewer cache shortcomings.May enable HTTP texture usage in situations where it has caused problems previously.More responsive experience following teleports.Reduced bandwidth (useful if you are on a metered service).Smaller local cache (perhaps even a RAMDisk).Faster more consistent loading when visiting locations repeatedly.Caches textures, mesh, materials and web content (profiles, search images etc).This guide based on one first published on the Phoenix / Firestorm Wiki and requires some technical ability, It will work with any recent Second Life viewer. The size of a squid proxy cache is only limited by the amount of disk space you can spare, and it can run quite happily on older / recycled hardware. It can easily be shared by multiple computers in the same household. This makes up for the viewer cache's tendency to forget all the things you would rather it didn't and allows you to run with a much smaller local cache. It fetches the data requested by the viewer and stores it should it be requested again, it provides the copy it has already downloaded almost instantly. How often have you teleported home after exploring only to find you have to wait while it downloads again.Ī squid proxy cache acts as an intermediary between the viewer and Linden Lab. The viewer cache is less than ideal and while it tries very hard to be smart, doesn't get it right nearly as often as it should and can not be shared between different computers / viewers. In order to save on repeatedly fetching the same data and to speed up the rendering of places you visit frequently the viewer has a local cache that can be up to 10GB in size. The Second Life viewer can download a significant amount of data for every location you visit (easily hundreds of MB). Are you reading the correct page for you operating system? Windows - OSX - Linux ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |