Re: Embed manifest
Juan Carlos Ojeda <[email protected]> Mon, 9 Jan 2012 19:03:45 -0300
| Newsgroups | gmane.comp.web.html.general |
|---|---|
| Message-ID | <CALFJTa3+sE7geOASXCJc8dJM9zhusM5XWdgB-jW4BS9rR9Qpfw@mail.gmail.com> |
--f46d0447a0798a8c6c04b61f9270 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 9, 2012 at 6:55 PM, David Woolley <[email protected]>wrote: > Juan Carlos Ojeda wrote: > > On Sun, Jan 8, 2012 at 4:04 PM, Juan Carlos Ojeda < >> [email protected] <mailto:juancarlospaco@gmail.**com<[email protected]>>> >> wrote: >> > > >> I need to make a Single File WebApp, i got the CSS and JS embed >> already, i cant embed the .MANIFEST >> ...and i dont want to use data uri :( it makes A LOT of sense. >> >> > Having now found out what <manifest/> is, it makes no sense to me to > include it in a single page web application as it will only have one detail > line and that line will refer to a page that the user already has, and for > which they presumably have the complete caching hints. > > With only one detail line, if you must have it, a quoted printable data: > URL should be no real pain. > > > -- > David Woolley > Emails are not formal business letters, whatever businesses may want. > RFC1855 says there should be an address here, but, in a world of spam, > that is no longer good advice, as archive address hiding may not work. > I think you dont understand, ...i mean something like: <manifest> CACHE MANIFEST # This is CaSe SeNsItIvE ! # Explicitly cached entries CACHE: pres.html style.css music.ogg click.ogg #scripts/main.js # will be served if the user is offline FALLBACK: / /presentacion-intro.html # Resources that require the user to be online. NETWORK: * </manifest> Just like: <style> body { background: #128;} </style> <script> console.log('hello world') </script> -- . --f46d0447a0798a8c6c04b61f9270 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Mon, Jan 9, 2012 at 6:55 PM, David Woolley <s= pan dir=3D"ltr"><<a href=3D"mailto:[email protected]">forums@da= vid-woolley.me.uk</a>></span> wrote:<br><blockquote class=3D"gmail_quote= " style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Juan Carlos Ojeda wrote:<div class=3D"im"><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> On Sun, Jan 8, 2012 at 4:04 PM, Juan Carlos Ojeda <<a href=3D"mailto:jua= [email protected]" target=3D"_blank">[email protected]</a> <m= ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">juancar= lospaco@gmail.<u></u>com</a>>> wrote:<br> </blockquote> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <br> =C2=A0 =C2=A0I need to make a Single File WebApp, i got the CSS and JS emb= ed<br> =C2=A0 =C2=A0already, i cant embed the .MANIFEST<br> =C2=A0 =C2=A0...and i dont want to use data uri =C2=A0:( it makes A LOT of= sense.<br> <br> </blockquote> <br></div> Having now found out what <manifest/> is, it makes no sense to me to = include it in a single page web application as it will only have one detail= line and that line will refer to a page that the user already has, and for= which they presumably have the complete caching hints.<br> <br> With only one detail line, if you must have it, a quoted printable data: UR= L should be no real pain.<span class=3D"HOEnZb"><font color=3D"#888888"><br= > <br> <br> -- <br> David Woolley<br> Emails are not formal business letters, whatever businesses may want.<br> RFC1855 says there should be an address here, but, in a world of spam,<br> that is no longer good advice, as archive address hiding may not work.<br> </font></span></blockquote></div><br>I think you dont understand, ...i mean= something like:<br><br><manifest><br>CACHE MANIFEST<br># This is CaS= e SeNsItIvE !<br><br># Explicitly cached entries<br>CACHE:<br>pres.html<br> style.css<br>music.ogg<br>click.ogg<br>#scripts/main.js<br><br># will be se= rved if the user is offline<br>FALLBACK:<br>/ /presentacion-intro.html<br><= br># Resources that require the user to be online.<br>NETWORK:<br>*<br> </manifest><br clear=3D"all"><br><br><br>Just like:<br><br><style&= gt;<br>body { background: #128;}<br></style><br><script><br>con= sole.log('hello world')<br></script><br>-- <br>.<br> --f46d0447a0798a8c6c04b61f9270--