Re: [whatwg] Persistent and temporary storage

2015-03-17 Thread Krinkle
On 18 Mar 2015, at 00:45, Karl Dubost k...@la-grange.net wrote: Hi Timo, Le 18 mars 2015 à 09:38, Krinkle krinklem...@gmail.com a écrit : 2. HTTP 304 hits are not free. We found that loading JS/CSS from LocalStorage was faster than hitting a HTTP 304. Making enough difference to justify

Re: [whatwg] Persistent and temporary storage

2015-03-17 Thread Krinkle
I'd like to share a use case and problem we have at Wikipedia with localStorage. The MediaWiki software (which Wikipedia runs on) uses a framework called ResourceLoader for bundling and delivering modules to the client. [1][2] Last year it was changed to make use of localStorage in addition to

Re: [whatwg] HTMLCanvasElement toBlob Promise

2015-03-17 Thread Ashley Gullen
Making toBlob return a promise is definitely in keeping with the rest of the web platform, but it's easy to write a wrapper function to promisify it. IMO toBlob is better than toDataURL since it is async so the image encoding can happen off main thread, reducing jank. I don't know how easy it is

Re: [whatwg] Persistent and temporary storage

2015-03-17 Thread Karl Dubost
Hi Timo, Le 18 mars 2015 à 09:38, Krinkle krinklem...@gmail.com a écrit : 2. HTTP 304 hits are not free. We found that loading JS/CSS from LocalStorage was faster than hitting a HTTP 304. Making enough difference to justify this change. Did you publish your tests and the results somewhere

Re: [whatwg] HTMLCanvasElement toBlob Promise

2015-03-17 Thread Garrett Smith
On 3/14/15, acmesquares . acmesqua...@gmail.com wrote: It would be great if there was a promise-based version of toBlob. Same parameters as toDataURL, but return a Promise to a blob. I use toBlob heavily with other promise APIs, and this one really stands out as in need of modernization. Hi

[whatwg] MetaExtension and Dublin Core revision

2015-03-17 Thread Andrea Rendine
More than one year ago I first updated the page MetaExtension on WHATWG wiki, in order to introduce values for @name according to DCMI dc-html documentation (http://dublincore.org/documents/dc-html/). There are several mistakes in the dc. and dcterms. list as of now, I tried to fix them, but my

[whatwg] Last Call: draft-ietf-appsawg-multipart-form-data-08.txt (Returning Values from Forms: multipart/form-data) to Proposed Standard

2015-03-17 Thread Larry Masinter
please note instructions for substantive comments: mail to i...@ietf.org w/same initial subject line === On 3/16/15, 8:03 AM, The IESG iesg-secret...@ietf.org wrote: The IESG has received a request from the Applications Area Working Group WG (appsawg) to consider the following document: -