[Commotion-dev] How to file issue on Commotion-OpenWRT luci theme - really really big font files

Ben West me at benwest.name
Mon May 6 15:07:43 UTC 2013


Here is my attempt at removing the Asap font and jquery.  I haven't yet had
a chance to test it on a node:
https://github.com/westbywest/commotion-openwrt-theme

This shrinks the ipk for the theme down to 32kbytes, so *10x reduction* in
size!

On Mon, May 6, 2013 at 9:29 AM, Benjamin Chodoroff <ben at theworkdept.com>wrote:

> On Mon 06 May 2013 10:13:19 AM EDT, Dan Staples wrote:
> > I believe I just fixed the issue submission, so try again and see if
> > that works. I think it makes a lot of sense to trim down the luci
> > theme. Our OpenWRT images have gone up 2MB since the last release, so
> > stripping out unnecessary items is a great idea. I was also surprised
> > it had a minified jQuery, which is still quite large. And why would we
> > need both jQuery and Zepto? I don't think we have any javascript in the
> > theme or elsewhere that requires jQuery. Zepto should do just fine...
>
> Zepto functionality degrades in ie9 and below, so i set it up to fall
> back to jQuery in that case - only one of the two libraries is served
> to the client
>
> One could feasibly pull out jquery if it were possible to test the
> interface in ie9 and below without the zepto function calls.
>
> I agree about ditching Asap. Also, many of the images could be removed
> or at least simplified and compiled into sprites.
>
> -b
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
>



-- 
Ben West
me at benwest.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20130506/ac50e5d8/attachment.html>


More information about the Commotion-dev mailing list