Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move datasource from Google Apps Script to Webapp #9

Open
eugenethreat opened this issue Aug 20, 2024 · 0 comments
Open

Move datasource from Google Apps Script to Webapp #9

eugenethreat opened this issue Aug 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eugenethreat
Copy link
Member

eugenethreat commented Aug 20, 2024

The Google Apps Script is not as performant as I would like it to be - map load time has increased from ~2 seconds (fetching geojson files from this repo) to ~5 seconds (fetching geojson from Google Apps Script). It may be worth seeing if writing an actual webapp to generate the geojson instead of using Google Apps Script is more performant.

Apps Script also has limited access control - in order for the GH Pages site to access the generated geojson, it's currently queryable by anyone. Functionally, this is the same as the old approach of having the geojson files in a public repo, but with a webapp we could enforce only accepting requests from the GH pages site VS anyone.

This would require spinning up another app on a PaaS such as Heroku or Render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant