Where to put css/js files?
Peter Schober
peter.schober at univie.ac.at
Fri Jul 29 12:42:50 EDT 2016
* Christopher Bongaarts <cab at umn.edu> [2016-07-29 18:07]:
> We're using Jetty now for our app server. We currently have a
> couple of files (a favicon and metadata.xml) in its ROOT web app. Is
> that a reasonable place for these?
Sure. Why not? You may also make use of the ugly trick of including a
query parameter (as a version indicator) in the link from HTML, to
prevent clients from caching old css versions which may no longer be
in sync with the rendered HTML.
-peter
More information about the users
mailing list