builder icon indicating copy to clipboard operation
builder copied to clipboard

Page with data from builder are slow / crashing

Open MaximeGratens opened this issue 1 year ago • 7 comments

We are using remix js with the sdk 2.

Describe the bug Every page from our blog where we load data from builder and use a list to iterate on it are slow and are crashing. For example, our blog page : https://anchorless.io/blog, also the text on iterating is buging for any reason : image

The text is not the good one.

To Reproduce Steps to reproduce the behavior:

  1. Install sdk 2 with remix js
  2. Load date from builder with data from content or from builder ui
  3. Try to load the page like this one : https://anchorless.io/blog
  4. Wait 2 hours to maybe have the page

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

MaximeGratens avatar Apr 24 '24 15:04 MaximeGratens

@MaximeGratens Could you provide the content URL of the https://anchorless.io/blog page to help us debug the issue?

samijaber avatar Apr 30 '24 15:04 samijaber

@MaximeGratens Is your issue specific to using the "Repeat for each" feature? Or are you encountering slow render times in other scenarios too?

samijaber avatar Apr 30 '24 15:04 samijaber

So there are 2 things

  • every time we try to loop something with builder, the page is so slow that we can't access it and it crashes. For example, these 2 pages: https://builder.io/content/3acd8ea58c96498bb308b0a233a9352a https://builder.io/content/208759ea72c544eba6df6e2f6aacfc73 It's barely slow, it crashes and the binding is completely messed up, taking the object's default value.

  • We still think there's a performance problem on all the other pages, even with the isolated vm and 1.0.25. It takes between 1 and 5s to render the page.

MaximeGratens avatar Apr 30 '24 16:04 MaximeGratens

Thank you for sharing, we are able to reproduce the problem. Will investigate and let you know.

samijaber avatar May 01 '24 15:05 samijaber

💘

MaximeGratens avatar May 01 '24 19:05 MaximeGratens

any news about this ?

MaximeGratens avatar May 07 '24 19:05 MaximeGratens

Hey,

Do you have a timeline on this issue? This one is very important for us

MaximeGratens avatar May 17 '24 15:05 MaximeGratens