W3C home > Mailing lists > Public > public-publ-wg@w3.org > July 2017

Re: Can a publication change over time?

From: Benjamin Young <byoung@bigbluehat.com>
Date: Thu, 27 Jul 2017 19:10:28 +0000
To: Hadrien Gardeur <hadrien.gardeur@feedbooks.com>, Baldur Bjarnason <baldur@rebus.foundation>
CC: Garth Conboy <garth@google.com>, Laurent Le Meur <laurent.lemeur@edrlab.org>, "public-publ-wg@w3.org" <public-publ-wg@w3.org>
Message-ID: <CY1PR06MB1883CCCA6D7FA76D0E04DE92B2BE0@CY1PR06MB1883.namprd06.prod.outlook.com>
ServiceWorkers deal with this situation wrt to caches:

https://w3c.github.io/ServiceWorker/#cache-lifetimes

"...caches are not updated automatically. Updates must be manually managed.  This implies that authors should version their caches by name and make  sure to use the caches only from the version of the service worker that can safely operate on."


That seems to map pretty cleanly to the world of WP's where offline-ification is a requirement. Consequently, the Web Publication would become "published" once it lived as close to the reader as possible--in this case, within a unique local cache/storage.


If the publication were prevented (or asked not to) be kept by the browser/reader, then the publication would "just be a web site" and get updates the same as every web page--"live" upon request...no additional decision to be made.


Just thoughts. :)

Benjamin


--

http://bigbluehat.com/

http://linkedin.com/in/benjaminyoung

________________________________
From: Hadrien Gardeur <hadrien.gardeur@feedbooks.com>
Sent: Thursday, July 27, 2017 1:53:24 PM
To: Baldur Bjarnason
Cc: Garth Conboy; Laurent Le Meur; public-publ-wg@w3.org
Subject: Re: Can a publication change over time?

All we can realistically accomplish here is to outline a mechanism where publishers can provide metadata of the sort that Hadrien describes. Even then that’s only going to be advisory/informative since the publisher still has the ability to modify those resources and if the UA is going to reject changed resources we’re basically back to using the SRI spec.

Fully agree that this is at best a hint that could be useful to update the WP when you cache it (offline reading) or package it (PWP). Fairly similar to "updated" in Atom.
Received on Thursday, 27 July 2017 19:10:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:52:14 UTC