Two requests sent to /api/preview/…, should be one

Created on 9 August 2024, 7 months ago
Updated 26 August 2024, 6 months ago

Overview

When navigating to /xb/node/1, two requests are sent to

/api/preview/node/1

:

  • the second one for the actual preview
  • the first one for "the empty canvas/component tree":
    {"layout":{"uuid":"root","nodeType":"root","name":"root","children":[]},"model":{}}
    

That's wasteful and rather pointless.

Proposed resolution

Eliminate that first request.

User interface changes

TBD

🐛 Bug report
Status

Fixed

Component

Page builder

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Production build 0.71.5 2024