In last days we observe major issue with rendering cycles.
The problem is following:
The elements which were set on the first rendering cycle are reverted to default values on the second rendering cycle.
Actually it causes all performance improvements which were done with regards to rendering cycles to work wrong, since all the page elements which were rendered on backend have now the default (placeholder) value.
Hello Idan,
The actual site is in work now, as well it harder to point to the problem I observe.
This is the reason I created dedicated reproduce site, with minimal amount of code, to see clearly the discussed issue.
On the test site the issue reproduces 100%, so I don’t think there is a need in another reference.
If you have any specific questions I will be glad to help if I can.
Sorry it took such a long time to get an answer.
After a long debate, it has been decided that in term of product this feature needs to be reconsidered, as it can be defined in a several ways.
I suggest using a slightly different version of this feature, as shown here .
However warmupData is the feature I’ll take a look at, I tried to use the rendering cycle 1 for less complicated purpose - just to set some element which already accessible on 1st rendering cycle (text for example). But since it is reverted on the second rendering cycle, I have to set same text twice, which look to loose the purpose of this optimization.
Is WIX’s direction to redesign this feature? Or fix the current misbehavior?
Liran,
I tried warmupData feature you suggested, but looks it doesn’t work. At least I didn’t succeed to use it properly, this property always returns null.
I see that similar issue was already reported, but never answered by WIX:
I’d like to note I have the same issue. In my case it’s surrounding expanding/showing elements in the onReady() that are collapsed/hidden by default.
When I set it to only expand/show during renderCycle 1, and it has two cycles, the net effect is the elements remain hidden/collapsed. I suspected the same issue that the second cycle overrides what’s done in the first.
I do agree this nullifies some of the value that server-side rendering can offer.
It’s been a few months since the last post here. Is there any update on the direction Wix plans to go?
I’m echoing each of the issues that’s been brought up in this thread.
As of May 21, 2019, any elements that I set during the backend render revert when the browser render occurs. In addition, warmupData always returns null.
What is Wix’s plan to fix this Corvid issue? I am attempting to speed up the loading of my website, and Corvid’s published feature for doing so does not work.