openwebrx
openwebrx copied to clipboard
Decrease the load of server by using CDN
"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.
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
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
).