Sounds almost as simple as zipping some files up! ;) On Fri, Jan 30, 2015 at 12:20 PM, Benjamin Kelly <[email protected]> wrote:
> On Fri, Jan 30, 2015 at 3:10 PM, Dietrich Ayala <[email protected]> > wrote: > >> What about dodgy network performance? >> >> A website-in-a-zip will be a single network request, which might perform >> far better under some network conditions than many network requests. >> > > You can implement this in Service Workers. Intercept the fetch events for > individual resources, make a single fetch() for an archive blob, split it > up in the SW, stick the resources in the Cache individually. Then > subsequent fetch events find the individual resources in the Cache. > (Similar to the Hacks post I'm working on.) > > Ben > _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
