*nix Thread, Dansguardian disable caching? in Technical; We use IPCop with the Cop+ addon to do our content filtering but I've been thinking about how it might ...
12th April 2010, 04:21 PM #1
Dansguardian disable caching?
We use IPCop with the Cop+ addon to do our content filtering but I've been thinking about how it might work with Moodle in the last few days.
Correct me if I'm wrong but if DG caches our Moodle site tutors' course pages won't udpate in real-time and so on, cue much confusion and keyboard bashing?
Thing is I can't see how to disable either the proxy or the cache without disabling DG... any ideas?
IDG Tech News
12th April 2010, 04:28 PM #2
You could edit squid.conf and set the cache size to 0... (dg itself doesn't cache). On the other hand, if Moodle behaves properly, you shouldn't see any such problems, as squid will always check that a page isn't updated before serving a cached version.
13th April 2010, 08:15 AM #3
I have not had a problem with squid and dansguardian and moodle.
14th April 2010, 09:57 PM #4
Dansguardian is a filter not a proxy. It does not 'cache' anything. That is Squids job. You can control what and how long Squid caches things in various ways, but to answer your specific question Squid by default will adhere to the HTTP headers that Moodle sends. In particular the expire and cache control headers. You can of course override this behaviour. Here's the relevant section of the squid manual.
squid : refresh_pattern configuration directive
By Arcath in forum EduGeek.net Site Problems
Last Post: 1st April 2010, 01:31 PM
By ITWombat in forum *nix
Last Post: 3rd March 2008, 10:17 AM
By Chrispy in forum Windows
Last Post: 19th September 2007, 08:33 PM
By DavidB4910 in forum Hardware
Last Post: 16th March 2007, 03:41 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)