Hi Mike,

I was serving a single static file:
Eg.
http://localhost/images/logo.png

But Always chrome made two requests.

So I went to:
chrome://net-internals/
(cool developer tool)

and find out Chrome always try cache favicon.ico

youdomain.com/favicon.ico

So You MUST have favicon.ico in youdomain.com/favicon.ico

Thanks for your guess.

Best Rgards

Mario

2011/4/15 Mike Orr <[email protected]>:
> On Fri, Apr 15, 2011 at 10:39 AM, macm <[email protected]> wrote:
>> Hi Folks
>>
>> I add this in my Midleware
>>
>> print random.randint(0,1000000000)
>>
>> Google Chrome
>> print 3x
>> eg:
>> -- 850384773
>> -- 134499796
>> -- 855735080
>>
>> Firefox
>> print 1x
>> eg:
>> -- 670126252
>>
>> Why?
>>
>> I am using pylons 0.97
>
> We'd need to know more about the application, the middleware, and the
> particular page.
>
> My first guess is that the page references two static files
> (stylesheets and/or images), and Firefox is using cached versions but
> Chrome is re-requesting them to see if they've changed.
>
> --
> Mike Orr <[email protected]>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to