When working with the amazing GUI editor alongside its’ older sibling the Playground, I noticed that when I call parseFromSnippetAsync is always returning an HTTP 200 - even when made by a request running in the same Playground!
This PG shows what I’m talking about; clicking the Sphere summons the first dialog, then clicking the “Launch” button dismisses the first and summons the second. Both are distinct instances of the
DialogBox class starting ln106. The code behaves as expected, except for the repeated call out to the snippet server (you’ll need to look at the dev tools network tab to see the actual requests)
Perhaps (and this would likely apply to NME, PG, any snippet server URL) configuring the server to include a response header specifying an unlimited cache lifetime for a particular snippet ID would improve people’s performance and save the project a bit on hosting?