<div dir="ltr">Hi, bottom posting...<div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 10:29 AM, Elizabeth K. Joseph <span dir="ltr"><<a href="mailto:lyz@partimus.org" target="_blank">lyz@partimus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 26, 2015 at 7:06 PM, Steven Z <<a href="mailto:qwarlock@qwarlock.com">qwarlock@qwarlock.com</a>> wrote:<br>
><br>
> If you just want to get what you have allowiing bigger files to be cached<br>
> then can I get you to check your current squid-conf against this one? The<br>
> section on allowing cached filess up to 4G is most interesting. I am very<br>
> curious if there is a match in there.<br>
><br>
> #!/bin/bash<br>
> #<br>
> # Installs Squid proxy / cache and points Apt to it.<br>
> # Cached packages are located at: /var/spool/squid<br>
><br>
> # Install Squid<br>
> apt-get install -y squid<br>
><br>
> # Change this to the subnet your box runs on<br>
> echo "acl localnet src <a href="http://10.0.0.0/16" target="_blank">10.0.0.0/16</a>" >> /etc/squid/squid.conf<br>
><br>
> # Cache files up to 4GB<br>
> echo "maximum_object_size 4000 MB" >> /etc/squid/squid.conf<br>
><br>
> # Allow a total cache size of 10GB<br>
> echo "cache_dir ufs /var/spool/squid 10000 16 256" >> /etc/squid/squid.conf<br>
><br>
> service squid restart<br>
><br>
> # Point apt to Squid cache<br>
> echo "Acquire { Retries \"0\"; HTTP { Proxy \"<a href="http://localhost:3128" target="_blank">http://localhost:3128</a>\"; }; };" >> /etc/apt/apt.conf<br>
<br>
</span>I believe we want caching not just on packages, but in general so when<br>
all the students go to the same website during a class they can take<br>
advantage of caching. </blockquote><div><br></div><div>That is true.</div><div><br></div><div>We also want to have the students' data cached on the server so that if a student gets re-assigned from one machine to another, the student's settings and data will remain intact.</div><div><br></div><div>Thanks so much to everyone who is contributing their thoughts to this effort!</div></div>
</div></div>