<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14704</bug_id>
          
          <creation_ts>2011-11-05 21:38:30 +0000</creation_ts>
          <short_desc>appcache: allow a manifest to be identified by something other than its URL</short_desc>
          <delta_ts>2011-12-07 21:10:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>adrianba</cc>
    
    <cc>blizzard</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>karl+w3c</cc>
    
    <cc>michaeln</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>tobie.langel</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59659</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-11-05 21:38:30 +0000</bug_when>
    <thetext>Large server setups use URL fingerprinting for caching. Basically you have the same resource distributed over many servers and the only way to update it is by changing its URL. See also: http://code.google.com/speed/page-speed/docs/caching.html

Cache manifests are incompatible with this model by having a URL identify the cache. To address this case we should have a separate identifier, probably tied to the origin of the manifest, that identifies the manifest. In the absence of such an identifier the URL would still identify the manifest.

(As an aside, we cannot identify the manifest by its master entries, because they can change over time.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59660</commentid>
    <comment_count>1</comment_count>
    <who name="">michaeln</who>
    <bug_when>2011-11-05 21:44:42 +0000</bug_when>
    <thetext>so effectively the identifier of the appcache would be a &apos;name&apos; instead of a resource url... thnx for explaining the issue... this makes sense to me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59681</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karl+w3c</who>
    <bug_when>2011-11-07 15:55:27 +0000</bug_when>
    <thetext>If the URL is stable and on the server side, the web developer are using a 302 temporary redirect to the new URL? Would it not solve the issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59684</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-11-07 16:31:33 +0000</bug_when>
    <thetext>No, because as far as the server is concerned the resource exists permanently. See the URL for an explanation of fingerprinting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59685</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karl+w3c</who>
    <bug_when>2011-11-07 16:48:22 +0000</bug_when>
    <thetext>Anne, I know what is URL fingerprinting. In my previous job, we were using it for some specific big sites. There are many ways do do that. One of the way to do that is to use a timestamp. 

http://example.org/blabla?yyyymmddhhmmss


This answer doesn&apos;t make sense in the context of your previous comments:
&quot;No, because as far as the server is concerned the resource exists permanently.&quot;

URL Fingerprinting is specifically used for busting the browser cache in a way which is random. Basically we do not know in advance when it will change. We do that usually when hosting CSS files on a CDN or icons for profiles pictures in  a social network for example, where you usually want the photo live forever (Long caching information - Expires in the order of months) and at the same time be able to have the browser to update it when there is a new image. 

The proposal for a separate identifier is basically recreating a HTTP 302 mechanism.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59880</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-11 00:24:38 +0000</bug_when>
    <thetext>Why can&apos;t the same &quot;live&quot; mechanism used for the root of a domain be used for a manifest?

If the URL is not used to identify the manifest, and the content of a given URL is static for all time, how would you know what URL to use to check to see if the manifest changed?

Karl: We can&apos;t use redirects, the appcache system assumes those are a sign of a captive portal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59933</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Dubost">karl+w3c</who>
    <bug_when>2011-11-11 19:50:40 +0000</bug_when>
    <thetext>Ian: Ah good point.

I would like to see someone from facebook currently using appcache comment on that issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61130</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-07 21:10:26 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: I don&apos;t understand. See above comments for specific questions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>