Opened 9 years ago

Last modified 9 years ago

#1305 new feature-request

Use CDN for css & js includes

Reported by: banana989 Owned by: damoxc
Priority: minor Milestone: Future
Component: Web UI Version: 1.2.3
Keywords: cdn javascript css ajax webui Cc:

Description

I believe that it would make the WebUI much faster if it linked to css and javascript resources on the web.

Something like this http://code.google.com/apis/ajaxlibs/

Change History (3)

comment:1 Changed 9 years ago by damoxc

A good idea, however will definitely require some additional thought, I think this should probably be done on dynamic per-request nature to allow for the web interface to still be used in networks without an external connection to the internet.

comment:2 Changed 9 years ago by olmari

I'm all in for any improvement, but please don't make deluge-web (or any part of deluge itself) dependant from some external resource, that would be just stupid IMO...

comment:3 Changed 9 years ago by banana989

@damoxc - agreed. Code could possibly be put in to ping the CDN providing the files to make sure they're reachable.

...or you could make it an option, so that the default behavior is not to use a CDN but a user could have the ability to turn it on.

Note: See TracTickets for help on using tickets.