CMS Nest reaching over 100+ CMS items

We are building a site that is using CMS Nest to dynamically nest the related items to each collection, this has come to a point where the CMS Collection that is used to nest is over 100+ CMS item. We have tried using CMS Load but is fixing it.

Any suggestions? Attached is the share-only link:

hey @info2! If your collection to nest is 100+ items you can try this:

For the CMS Nest script use this script:

<!-- [Attributes by Finsweet] CMS Nest -->
 <script defer fs-attributes-preventload="true"  src=""></script>

Child collection (COLLECTION TO NEST)

Use CMS Load set to render-all

  • Enable pagination with 100 items per page

  • Activate Speed Boost

Use CMS Load callback to reinitialize CMS Nest

Add this snippet to </body> tag

 window.fsAttributes = window.fsAttributes || [];
   (listInstances) => {

Hey @Support-Luis , great solution!
Is there a way to load the script regularly and “re-load” it again after all scripts are loaded?

Asking, since I have multiple CMS lists that have a nested element in them, and the first item is at the top of the page. With the current solution it takes long time for the nested items to load.

Hey @avivtech! You can let it load normally with the rest of the scripts and you can use


to destroy and re-initialize the attribute within any callback or other needed code snippet has been executed.

Hey @Support-Luis you once helped me adding 100+ items. Now the client experiences “loading in packages" and sometimes the loading process seems to stop for quite some time. Because we are showing the number of items he can filter by it is quite obvious. Is there a way to avoid the loading in packages and/or to cache the information loaded?

Hey @koptiz! You do not have the complete setup for CMS Load, you are just missing the load mode value. You could use fs-cmsload-mode=render-all but be mindful that this will load ALL items, if there are too many or the elements might slow the page down you can opt to use ‘fs-cmsload-mode=pagination’.

CMS Load will also cache the items automatically for better performance.

Hi there –

I’ve tried this solution but it still doesn’t render everything. I’m hoping it’s something simple that I’m missing. It also behaves differently depending on the sort option on the nested collection.

Here’s a link to my site

Thanks in advance

UPDATE: I figured it out. I had the attributes code in the Head code section of the site custom code. I took a shot and moved it to the individual pages I was having problems with. It now works.

1 Like

Hey @Michael3! Glad to her it worked out! :muscle: