Skip to content
Snippets Groups Projects

Resolve "Specific Async Script Loading by using a Page Variable"

What does this MR do?

It makes it possible to set script loading on a specific page to defer. Simply set @page_defer_javascript to true and all scripts will get the defer="defer" attribute.

Why was this MR needed?

To boost performance already on specific pages. Later on we can reuse the javascript_tag overwrite exactly in the opposite way so all scripts are defer except specific ones.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34904 (closed)

Edited by Tim Zallmann

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading