openwebrx icon indicating copy to clipboard operation
openwebrx copied to clipboard

Decrease the load of server by using CDN

Open bclswl0827 opened this issue 6 years ago • 2 comments

"jquery.min.js"" in line 45 replaced to "//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" "jquery.nanoscroller.min.js" in line 46 replaced to "//cdnjs.cloudflare.com/ajax/libs/jquery.nanoscroller/0.8.7/javascripts/jquery.nanoscroller.min.js" "nanoscroller.css" in line 47 replaced to "//cdnjs.cloudflare.com/ajax/libs/jquery.nanoscroller/0.8.7/css/nanoscroller.css" All above is to Decrease the load of server.

bclswl0827 avatar Dec 31 '18 10:12 bclswl0827

Hi,

Thank you for the PR. Those files are included with OpenWebRX so that installing and using it with the default settings does not reveal the presence of the server to any service provider (including CloudFlare). Does it worth to cache these anyway? I think what takes a lot of time to load is the photo (that's why most servers load slowly.)

Andras

ha7ilm avatar Jan 09 '19 17:01 ha7ilm

It worth... In addition, it's better to let users host their background photos to imgur, host avatar to Gravatar and change the icons to SVG icons ( like Font Awesome ), not the icons in gfx folder, this way, the speed of loading may be faster than before.


In one word, try to make OpenWebRX which is installed in localhost only provide with WebSockets and basical HTML page (index.wrx).

bclswl0827 avatar Jan 10 '19 08:01 bclswl0827