home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / gopher / 1229 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.6 KB

  1. Path: sparky!uunet!mcsun!uknet!mucs!mcchpc.mcc.ac.uk!zlsiimw
  2. From: zlsiimw@mcchpc.mcc.ac.uk (Mark Whidby)
  3. Newsgroups: alt.gopher
  4. Subject: Re: .cache
  5. Message-ID: <5733@m1.cs.man.ac.uk>
  6. Date: 13 Aug 92 08:15:51 GMT
  7. References: <1992Aug12.195021.8790@trentu.ca>
  8. Sender: news@cs.man.ac.uk
  9. Reply-To: M.Whidby@mcc.ac.uk
  10. Organization: Manchester Computing Centre
  11. Lines: 23
  12.  
  13. In article <1992Aug12.195021.8790@trentu.ca>, ccksb@blaze.trentu.ca (Ken Brown)
  14. writes:
  15. |> If a .cache file is not up to date (ie: relatively new as the gopherd docs
  16. |> say) then not all changes in the gopher data dir are reflected.  It appears
  17. |> that starting gopherd with -C will turn this off.
  18. |> 
  19. |> What are the relative advantages and disadvantages of .cache files?  If of
  20. |> advantage, how can I assure they are all up-to-date?
  21.  
  22. Main advantage is to save on server processing time - if a .cache file
  23. exists it just squirts that back at the client without trundling through
  24. the directory getting all the info it needs to send back.
  25.  
  26. Disadvantage - as you noted, if you change something in the tree it doesn't
  27. appear immediately as viewed by the client until the cache file expires
  28. (10 minutes by default I think). I run with caching on but if I want to
  29. check something I've just inserted I do an 'rm .cache' in the appropriate
  30. directory. Perhaps soemone should write a script to remove all .cache files
  31. in a directory. (I miss the tree-walking capabilities that Primos had in
  32. its wildcarding...)
  33. -- 
  34. _____________________________________________________________
  35. Mark Whidby, Distributed Systems, Manchester Computing Centre
  36.