Support Topics Documentation Slack YouTube Blog

Visibility Logic

I want to minimize the number of pages on my site & native app. Is it possible to stack pages or blocks on top of each other, and create visibility logic for them?

Will this method reduce my content load speed? And should there be a limit on the number of pages/blocks I can stack?

Thank you in advance.

Hello @Jet_Soloman

I want to minimize the number of pages on my site & native app. Is it possible to stack pages or blocks on top of each other, and create visibility logic for them?

Kind of like a working approach, you can create a “currentSection” variable on the top (onBeforeMount Page) and using “Visibility Logic” handler to show corresponding section/block.

However, it could be a little tough to restore the current section after the browser refresh.

Will this method reduce my content load speed?

Once you publish/deploy your container almost all the files are composed into a single one, so I do not think it may improve loading speed.

And should there be a limit on the number of pages/blocks I can stack?

At this time there is no limit either by blocks and by pages

Regards, Vlad