Active
Project:
Ajaxify Drupal with JQuery Ajax
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2015 at 06:13 UTC
Updated:
29 Jul 2015 at 06:13 UTC
Hi there!
As you probably know, by default Drupal loads javascript libraries whether it's used on a page (flexslider for example) or not. In my project I reload the whole page with ajax and of course I had to include javascript to be reloaded with all the data to have those libraries loaded that were missing on previous page.
The problem here is major impact on performance when loading page with ajax since all javascript is binding again.
Do you have any suggestions on workarounds? Maybe it's possible to load ALL javascript libraries at once on first load?
Appreciate your help!