+ Post New Thread
Results 1 to 4 of 4
*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 ...
  1. #1
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,656
    Thank Post
    164
    Thanked 220 Times in 203 Posts
    Rep Power
    67

    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?

  2. #2


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,475
    Thank Post
    866
    Thanked 849 Times in 671 Posts
    Rep Power
    196
    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.

  3. #3
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    Hi

    I have not had a problem with squid and dansguardian and moodle.

    Richard

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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:
+ Post New Thread

Similar Threads

  1. [CLOSED] Layout Issue: Banner Caching
    By Arcath in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 1st April 2010, 12:31 PM
  2. *nix WSUS: Caching software updates
    By ITWombat in forum *nix
    Replies: 3
    Last Post: 3rd March 2008, 09:17 AM
  3. windows client side caching
    By Chrispy in forum Windows
    Replies: 4
    Last Post: 19th September 2007, 07:33 PM
  4. Web Caching
    By DavidB4910 in forum Hardware
    Replies: 7
    Last Post: 16th March 2007, 02: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
  •