Canvas pages are uncacheable

Created on 24 October 2025, 4 days ago

Overview

Found via 📌 Add performance tests Needs work

Steps to reproduce:

1. Install Byte
2. Visit the front page

In ComponentTreeItemList::getCacheability(), note that it reaches the line:

   // This appears to be an ephemeral component tree, hence it is uncacheable.
    return (new CacheableMetadata())->setCacheMaxAge(0);

This causes max-age 0 to be bubbled up to the page, which means no dynamic page cache.

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

1.0

Component

Page builder

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Not all content is available!

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

No activities found.

Production build 0.71.5 2024