Module creates major performance issues in Site Studio

Created on 16 October 2024, 2 months ago

Problem/Motivation

Under this module, webforms injected into components cause pages in Drupal to be uncachable and result in pages taking up to 10 seconds or more to load. Removing the webform from the page reduces page load time for authenticated users to 1.5s.

Creating a Webform Block and adding that via the Block element in a component results in the same 1-2s page load time. Something about the way this module adds Webforms into components causes severe performance issues and a lack of cacheability.

Proposed resolution

IMO a new major version of this module and drop creating Webforms as nodes and then referencing nodes off the webform in a component. Either render the Webform as is, or insert them as blocks in the hidden region so they can be referenced by a Block element. If a Webform on its own can be rendered without a Block, then great.

See: ✨ Can we have option to fetch webform instead of webform nodes Active

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024