omeka-s-themes / default

GNU General Public License v3.0
2 stars 13 forks source link

Moved scripts into footer for performance and security reasons. #12

Closed Daniel-KM closed 5 years ago

Daniel-KM commented 6 years ago

It is generally recommanded to include all scripts in the bottom of the page for performance (quicker load on small devices), security (no inline js), accessibility (no issues with js), and semantic (strict separation between content and display) reasons.

It may imply some changes on some modules or themes that includes js code inline, in particular with a jQuery or an Omeka js dependency. So if this change is accepted, it can be included with the 1.2 release (https://github.com/omeka/omeka-s/issues/1250).