Content forms are painfully slow if multiple sub-modules are enabled

Created on 28 May 2019, about 5 years ago
Updated 27 June 2024, about 13 hours ago

We also experienced performance impact of Metatag + Schema.org Metatag modules in content editor prospective. If these modules and several sub-modules are enabled for a content type:

  • Content edit form load is slow.
  • CKeditor load on this form is too slow.
  • Add new Item on multiple values field run too slow.
  • Any #ajax or #state function on drupal form run too slow.

Similar issues were raised several times but none of them are considered as bug due to Performance Considerations β†’ : "metatag module creates a gigantic form element with all possible values and displays that on each metatag field."

Various workarounds may be applied here to improve meta tags management experience, but a content editor often needs just edit content and leave meta tags unchanged. And in such cases my another workaround comes into the game: replace all the metatags fields with just 1 triggering element and load the whole sub-form with AJAX only when needed.

πŸ“Œ Task
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡¦Ukraine Joyakas

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024