OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Another idea for reducing javaScript/css content - gzip it

Open iprak opened this issue 2 years ago • 1 comments

This is a follow-up idea to #199

Yet another optimization would be to serve pre-gzipped script/css content and download them separately.

Not sure if this will stress out the devices? The device seem to support 38 sockets.

Beside having smaller content (my testing showed 40% reduction), the content can be flagged with Last-Modified header so that it is only server when it is outdated.

iprak avatar Sep 14 '22 11:09 iprak

Hey, just a little input from me - "seem to support 38 sockets" - it comes from LWIP library, it's supposedly adjustable by a # define , but I don't know how many really sockets can be handled, and you might need also to increase PBUF size in LWIP etc etc etc

openshwprojects avatar Sep 14 '22 15:09 openshwprojects