*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, 03: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, 03: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, 07:15 AM #3 Hi
I have not had a problem with squid and dansguardian and moodle.
Richard
-
-
14th April 2010, 08: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
-
SHARE:
Similar Threads
-
By Arcath in forum EduGeek.net Site Problems
Replies: 1
Last Post: 1st April 2010, 12:31 PM
-
By ITWombat in forum *nix
Replies: 3
Last Post: 3rd March 2008, 10:17 AM
-
By Chrispy in forum Windows
Replies: 4
Last Post: 19th September 2007, 07:33 PM
-
By DavidB4910 in forum Hardware
Replies: 7
Last Post: 16th March 2007, 03:41 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules