standard-www
standard-www copied to clipboard
Update demo page to use a Netlify serverless function
Hello! Hope folks are doing well!
What problem do you want to solve? Right now the demo is powered by standardizer which is currently served by Glitch.com at https://standardizer.glitch.me/. This worked well for quite a while, but now there is a 10-15 second delay when hitting the service as Glitch fires it up.
What do you think is the correct solution to this problem?
Moving standardizer
logic into a Netlify serverless function may be an OK solution since the site is using Netlify currently. The cold start is a bit better on Netlify I presume.
Its a very small set of logic that could be recreated here in /api
. Netlify would deploy it as part of current deployment process (Netlify Serverless Functions).
Maybe this issue belongs in the standardizer
project, I dunno :)
Are you willing to submit a pull request to implement this change? I'm happy to work on this eventually if folks think its worthwhile. If someone else wants to pick it up, go for it! Happy to review!
@Flet Go for it!