Performance: Do not build blocks on Webform Share pages?

Created on 27 January 2023, almost 2 years ago
Updated 14 February 2023, almost 2 years ago

Problem/Motivation

I have just realized that even if Webform Share pages are trying to be as "puritan" as can be and returning a minimal markup... but blocks are still being built behind the scenes just they are not printed.

Steps to reproduce

1. Put a breakpoint in \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::build()
2. Open a share page, like webform/foo/share.

You should see that blocks are being built by this function.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

6.2

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary mxr576 Hungary

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

Comments & Activities

Production build 0.71.5 2024