Does Site Search execute JS or does it only work with static sites?

If I have a SPA, or an app which requires JS to render (some of) the content, is DatoCMS able to index it or will it only index what’s rendered by the server?

Hey @tomc,

Good question. I’ll check with a dev on this and let you know once I find out! Sorry I don’t have the answer offhand.

Hey @tomc

We will only index strings that are available on load on the DOM, with no JS execution, that is, it needs to be rendered by the server. A react SPA that starts with an empty DOM and is then populated by JS client side will not have any of the strings crawled by our spider, sorry about that!