#18082: Minification of LUA scripts
---------------------------------------+-----------------------------------
 Reporter:  dev.rindeal+dev.openwrt@…  |      Owner:
     Type:  enhancement                |     Status:  new
 Priority:  normal                     |  Milestone:
Component:  luci                       |    Version:  Barrier Breaker 14.07
 Keywords:                             |
---------------------------------------+-----------------------------------
 Hi,

 there isn't much free space on my Tp-Link TL-WR741ND after an openwrt
 installation and thus I've been looking for ways how to shrink the files
 need to keep the overall functionality. After a while I've found all the
 comments and spaces in luci lua scripts.

 Using a lua minifier (https://github.com/stravant/LuaMinify) I was able to
 shrink the size of scripts from ~550kB to ~390kB and I think that's a
 considerable saving of space.

 Minified Luci runs on my router without any issues so far.

--
Ticket URL: <https://dev.openwrt.org/ticket/18082>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to