I am adding zip resource packaging support to Sciter v. 220.127.116.11.
Imagine that you have some folder where your app files are located:
content images img1.png img2.png scripts script1.tis styles style1.css index.htm view1.htm dialog.htm
then you can load it into the Sciter using …/content/index.htm path. Nothing new up to this moment.
But with ZIP packaging support you can compress that folder into single content.zip file and load that zip into the engine as a whole using …/content.zip url.
Sciter will unzip that archive on the fly and will try to find and load either one of following files at its root: index.htm, index.html, main.htm or main.html.
All relative links inside that file will be resolved against content of the zip. So if you have <img src=”images/img1.png”> then its URl will be resolved to artificial
…/content.zip/images/img1.png and the image will be loaded from the zip.
Given schema allows to use same content in a folder or as packaged into zip file without any changes.
Among other use cases consider zip packaging for downloading applications over the wire – it will minimize bandwidth and eliminate multiple http connection requests for resources of the application.