When building a reusable app in Django, for example an app that provide a special widget that can be use anywhere, what is the best way to deal with static files needed by the app, but that could be use also by other apps. A good example is jQuery.
If I'm using 3 reusable apps and all of them use and bundle jQuery in their static directory, when loading a page that use all 3 apps, the browser will load 3 times jQuery (probably different versions). That can cause some problems. For example, if the last jQuery to be loaded is an older version and one of the other app need a newest version, that can break this other app. Also it add more download time on the first page load and more requests for each page. That's suboptimal.
So how to built a reusable app to avoid this problem?