Re: [apps-discuss] Fwd: I-D Action: draft-nottingham-http-browser-hints-01.txt

Dzonatas Sol <dzonatas@gmail.com> Fri, 27 May 2011 08:11 UTC

Return-Path: <dzonatas@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B02BBE07B1 for <apps-discuss@ietfa.amsl.com>; Fri, 27 May 2011 01:11:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.834
X-Spam-Level:
X-Spam-Status: No, score=-4.834 tagged_above=-999 required=5 tests=[AWL=-1.235, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Axv46wyyTmNu for <apps-discuss@ietfa.amsl.com>; Fri, 27 May 2011 01:11:25 -0700 (PDT)
Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179]) by ietfa.amsl.com (Postfix) with ESMTP id 881F3E069A for <apps-discuss@ietf.org>; Fri, 27 May 2011 01:11:24 -0700 (PDT)
Received: by pxi2 with SMTP id 2so908673pxi.38 for <apps-discuss@ietf.org>; Fri, 27 May 2011 01:11:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5GTYtEtfBlQXfyy6CcB3SrQ+q831+UiqaSF8hFZZLBM=; b=qgjT6ksrJ2sKt9SSgRiEyJSob2qGz8rBPoW34TKS0F9zUWTRSzSSTqEH1WadzYPnvB /D9TOKAytlEtg+tSQQfT+5hinKCF/qSF2tk9jglzVSlMuL7Q2zYGwFC1Bhg3ujc71d4l PGqu3ZN5wpzYt3V8IwEpcxNDUgJaqeoiBCMFA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=njKVzlFDQ0tnMForz62m9HABldkR1dI3XB0NJ/mQW0BUJ6kQue2eGZ7Xs3/otGFfjd r9n7dxXyOr6WowFKrqQ5CBukCXFs8oHZLdAvHpB+E1gAA2rTpyeyZZ25cI7eOCyS1XSu ZUy3CBjakC25hRpcRDa/H/mVP1BhCDnHAa4H0=
Received: by 10.143.68.4 with SMTP id v4mr300477wfk.168.1306483884017; Fri, 27 May 2011 01:11:24 -0700 (PDT)
Received: from [192.168.0.50] ([70.133.70.225]) by mx.google.com with ESMTPS id w5sm330666pbh.61.2011.05.27.01.11.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2011 01:11:23 -0700 (PDT)
Message-ID: <4DDF5C55.9030900@gmail.com>
Date: Fri, 27 May 2011 01:09:57 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
MIME-Version: 1.0
To: apps-discuss@ietf.org
References: <20110527050308.5589.11486.idtracker@ietfa.amsl.com> <A52DC35C-F03D-400F-9B9F-59D0C0F6D2AF@mnot.net>
In-Reply-To: <A52DC35C-F03D-400F-9B9F-59D0C0F6D2AF@mnot.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [apps-discuss] Fwd: I-D Action: draft-nottingham-http-browser-hints-01.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 May 2011 08:11:26 -0000

If the values for "omit-cookies" are (already) of environmental scope 
then I think CSS is the solution. One use-case is the web-browser scans 
the CSS for elements and namespaces that relate or are relative to the 
context (cookies can further be enabled/disabled/sent/not-sent in 
content sensitive manner in optimization). That avoids unintentional 
redundancy. If there is intentional difference in scope between global 
and environmental access then that is what I think "raises the bar". We 
can assume one intentional use-case of global access with URL fragments:

'omit-cookies': {'/images/': true, '/images/#!/user_special': false }

...begs the question on who processes.

On 05/26/2011 10:07 PM, Mark Nottingham wrote:
> FYI.
>
> This draft adds two new hints: chunk-req-bodies and omit-cookies, at the suggestion of Patrick McManus and Poul-Henning Kamp respectively (thanks).
>
> Another question Poul brought up was making it possible to have some hints be more fine-grained. omit-cookies would be a good example for this; instead of applying to the entire server, it could look something like:
>
> 'omit-cookies': {'/images/': true, '/images/user_special': false}
>
> I'm a bit wary of making the file too verbose or complex, but the specific use case seems attractive. It could also be useful for the referer-related directives.
>
> Thoughts? One approach to this would be to make the entire file some sort of map to the site, but my initial reaction is that this raises the bar for parsing too high.
>
> Cheers,
>
>
>
> Begin forwarded message:
>
>    
>> From: internet-drafts@ietf.org
>> Date: 27 May 2011 3:03:08 PM AEST
>> To: i-d-announce@ietf.org
>> Subject: I-D Action: draft-nottingham-http-browser-hints-01.txt
>> Reply-To: internet-drafts@ietf.org
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>>
>> 	Title           : HTTP Browser Hints
>> 	Author(s)       : Mark Nottingham
>> 	Filename        : draft-nottingham-http-browser-hints-01.txt
>> 	Pages           : 8
>> 	Date            : 2011-05-26
>>
>>    Over time, Web browsers have adapted how they use HTTP based upon
>>    common server configurations and behaviours.  While this is necessary
>>    in the common case, it can be detrimental for performance and
>>    interoperability.
>>
>>    This document establishes a mechanism whereby origin servers can make
>>    available hints for browsers about their preferences and
>>    capabilities, without imposing overhead on their interactions or
>>    requiring support for them.
>>
>>    This is intended to allow browsers to safely optimise connections to
>>    servers.
>>
>>
>> A URL for this Internet-Draft is:
>> http://www.ietf.org/internet-drafts/draft-nottingham-http-browser-hints-01.txt
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> This Internet-Draft can be retrieved at:
>> ftp://ftp.ietf.org/internet-drafts/draft-nottingham-http-browser-hints-01.txt
>> _______________________________________________
>> I-D-Announce mailing list
>> I-D-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/i-d-announce
>> Internet-Draft directories: http://www.ietf.org/shadow.html
>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>>      
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>
>    


-- 
--- https://twitter.com/Dzonatas_Sol ---
Web Development, Software Engineering, Virtual Reality, Consultant