Scripts loaded with constantly changing "lu"-parameter
I tried debugging JS with my browser in the quiqqer/gdpr
module.
But with every page refresh the break points were gone.
It turns out that the "lu"-request-parameter which is added to every loaded script changes on every request.
The script is loaded like this:
<script src="{$smarty.const.URL_OPT_DIR}quiqqer/gdpr/bin/controls/CookieConsent.js"
data-qui="package/quiqqer/gdpr/bin/controls/CookieConsent"></script>
(see source code: https://dev.quiqqer.com/quiqqer/gdpr/blob/d4fbda139d763498e285add4f8cfa97a5eccb9d4/src/QUI/GDPR/HeaderExtension.tpl#L1-2)
In the DOM it's parsed like this - note the changing lu
-parameter:
Another script, which is loaded via requirejs, is always correctly loaded with the same lu
-parameter.
(source code: https://dev.quiqqer.com/quiqqer/gdpr/blob/d4fbda139d763498e285add4f8cfa97a5eccb9d4/src/QUI/GDPR/HeaderExtension.tpl#L149)
My QUIQQER system has the following configuration:
- Settings > QUIQQER > Cache:
- General > Enabled
- Frontend Caching > Everything enabled
- Settings > QUIQQER > System
- Debug-Mode: disabled
- Developer-Mode: disabled
- Ajax-Bundler: disabled
QUIQQER version should be the latest dev-dev
.