Re: don't rerequest upper/lowercase version of same URL
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop)
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Dan Jacobson <[email protected]> writes: > Sure wish there were a marker I could set for a given site that if > http://en.wikipedia.org/wiki/Absolute_threshold_of_hearing > was in the cache already, I wouldn't go ahead and request uppercase > http://en.wikipedia.org/wiki/Absolute_Threshold_of_Hearing > again. > > Hmmm, I see > In all sections that accept URL-SPECIFICATION s the comparison can be > made case insensitive for the path and arguments part by inserting the > '~' character before it. > but that won't help me here it seems. WWWOFFLE performs a one-way hash function on the URL to get the filename. Given one URL the only way that WWWOFFLE could check if there is another URL that differs only in uppercase/lowercase changes it would need to check every URL in the directory belonging to that host. Making this type of search would slow down the lookups since it would need to try every file on the host rather than just going to the correct one like it does now. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html