Hello community!
I have a general question regarding improving the user experience. This is not a specific problem and I can’t provide details of the website nor access to the repo, it has to remain private for now.
Question: Is there a way to avoid the blank page (I mean a rendered page with header and footer but no content) while the content is being fetched from the REST API?
More explanation: The time that Frontity takes to fetch the content from the REST API is obviously greater when working in development. I know this fetch time will depend on the server running WordPress and when the site is served in the cloud things are going to run much faster. However I am still concerned on the CLS (Cumulative Layout Shift) web vital once the site is deployed.
I want to know if there’s a way we can completely remove the CLS maybe by setting up a placeholder of the content. I know that when someone lands on the homepage and Frontity fetches the data from the REST API, it also fetches other pages that are linked in the content of the homepage. Could it be that the extra content on that homepage request be used to create a placeholder for the above the fold content once the user has clicked a link in the homepage?
I appreciate the help and please let me know if this issue was already addressed in the community. Being relatively new to Frontity and the community I sometimes don’t know how to look for things with the proper terminology.
Max