Need help with performance! Static collection loading every single page visit? How to disable or speed up?

My static collection is taking over 15 seconds to load. On dynamic collections there’s a toggle to turn off loading it automatically but for my static collection there is no such toggle. Any idea?

It worked with 100 static items. But with 6500 it just breaks. I dont want to load ALL static pages on every single static page visit.

There must be a way to turn this off I guess?

I am using this static collection to create SEO friendly pages.

Roughly 6500 pages. Not a huge amount of data, 7.5MB.
EDIT: Oh and my backend gives me the response in 2 second, so it is the frontend.

Is it the static collection page that needs to load every page that exists, even when just trying to fetch 1 specific one using the id in the url? Or how does this work?

Looking at the network tab, it takes over 10-15 seconds to load the full page. Especially the loading of some json is taking over 1,5 second and it’s being called multiple times to load the page: public/data/211613b2-899e-4bc3-9b5c-97ecd92a9045.json?wwlang=&_wwcv=29

→ Looking at the reponse, it’s 7.7 million characters, and it also contains a list of all my static pages. But I’m just trying to open 1.

1 Like