Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Size of content files can cause problems in Site Editor features
Size of content files can cause problems in Site Editor features
ID: 715480
Backlog
Published on 12/13/2022
Last update on 12/13/2022

Summary

Every content or structure update in a store theme is registered in files called content.json and template.json, those files work like "maps" that keep the references of all the content that the storefront shows, therefore, it is also based on what is displayed as a preview in the Site Editor.

When one of those files is too big, it can cause performance problems and affect Site Editor features like Content Version Scheduling.

Simulation

There's no specific way to simulate problems based on content files size, but here's an example of a scheduled content fail:

When a content file is too big the GET request, which is responsible to update the info on the screen, can present a timeout error, so, the content used could be based on the render-server cache, which will contain outdated information regarding the changes made in the new content version, causing the schedule fails.

Workaround

  • It's essential to understand why those files are big and try to decrease them;
  • Check if the store has multiple bindings and if they are well set and indispensable because they can directly affect the size of the content files;
  • Check if the vtex.render-server and the vtex.store app are in their final version;
  • In a scheduled fail scenario, the user can manually activate the failed version.
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback