I’m planning to develop a Sencha Touch application, which is likely to be around 1Mo of code. Now, this is quite a bit to download from a mobile phone and I would like to know if there is a way to zip/unzip the whole application or parts of it to reduce bandwidth as much as possible.
I have tried zipping it on my computer and I manage to reduce the size by 60% (I’m trying this on an example app which is 700Ko) !
I know there are some javascript libs to zip lines of code but what about a zipping procedure on the server hosting the app and unzipping it on the phone ?
I’m planning to develop a Sencha Touch application, which is likely to be around
Share
Don’t try to reinvent the wheel. Browsers and most servers (e.g. Apache) support compression on transfer-level. You’ll find tons of information when you search Content-encoding compression