W3C home > Mailing lists > Public > public-html-comments@w3.org > April 2013

Feature Request: HTML Resource bundles

From: C Havemann <thecmann1@gmail.com>
Date: Tue, 23 Apr 2013 00:17:51 +0200
Message-ID: <CAH1-2D4nAT8Se12PvNEzAuX=npGKL4J=vg6BWTDrEU9YmEPrig@mail.gmail.com>
To: public-html-comments@w3.org
Since it's best to keep the number of HTTP requests on a page as low as
possible I think it would be convenient to be able to bundle any resources
used on a page (images, css, js, etc) in a single zip file.
I would think that it could work something like this:

<head>
<resource href="files/app.zip">
<resource href="files/images.zip">
<!--
Now you can load files from the zip file by
-->
<link href="resource:app/css/style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resource:app/
javascript/console.js"></script>
</head>

<body>
<!--
Images should also be able to be loaded from resource files
-->
<img src="resource:common/css/style.css">
</body>
Received on Tuesday, 23 April 2013 05:48:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:29 UTC