LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] 302 redirection strangeness

[ILUG] 302 redirection strangeness

Niall O Broin niall at linux.ie
Tue Mar 28 08:42:08 IST 2006


On 28 Mar 2006, at 08:22, Kenn Humborg wrote:

>>> What is that image? Does it happen to be on other pages as well  
>>> so the
>>> browsers might cache it and not download it again?
>>
>> Again, if the browser has cached the file, it won't request it, and
>> hence won't get a 302 redirect.
>
> What if they are doing If-Modified-Since: GETs.  The first server
> will redirect and the other will return 304 (I think) meaning not
> modified, so you won't see it in the count of 200s.

Ah - that makes sense, and my apologies to the previous poster who  
mentioned 304s as this is probably what he meant too, but I didn't  
understand him.

However, sensible as it sounds, it's not what's happening :-(  My  
original post was incorrect (it was late :-( ) and the count of 200  
result codes I gave was in fact the count of ALL matches in the logs  
for the redirected files on serverB, which did contain a significant  
number of 304s. Apologies for the confusion, but the basic question  
remains the same - why do 25% of the requesters to the original  
server not follow the redirect?



Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell