Re: [squid-users] Purging Cache Question

This is a discussion on Re: [squid-users] Purging Cache Question within the Squid Users forums, part of the Web Server and Related Forums category; On Sat, 28 Feb 2004, OTR Comm wrote: > Am I correct in understanding that the first thing that Squid ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2004
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] Purging Cache Question

On Sat, 28 Feb 2004, OTR Comm wrote:

> Am I correct in understanding that the first thing that Squid does when
> it receives a purge request (after it has verified proper authority,
> host, port, etc.) is remove the cache reference from memory with
> removeClientStoreReference(&sc, http) and then do the removal from
> swap.state and the L2 directory by setting the ipcache_entry expire time
> to squid_curtime in ipcacheInvalidate(const char *name)?


No, these are completely different things, not related to the object. You
need to follow the thread a little further down
(purgeRequestFindObjectToPurge)

ipcache is the DNS cache of hostname -> IP address lookups.

> Also, how does ip_table get to ipcache_get(const char *name) in
> ipcache.cc, and where is hash_lookup defined? That is from:


hash_lookup is defined in hash.cc.

Regards
Henrik

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0