Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 305793

Umami page template renders header regions multiple times

$
0
0

Problem/Motivation

In #3512766: Optimize redirect chain retrieval in VariationCache, I noticed that we're currently rendering the umami_search block 3 times, because there's a repeated check for whether or not there are any blocks in those regions, first one of the two, then either, then actually rendering them.

Steps to reproduce

Proposed resolution

As a demo theme, I think umami doesn't really need to worry about people removing those blocks?

If we for some reason do, we could store the rendered output into a variable and check and display that.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 305793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>