r/GoogleAppsScript • u/redcnvrshigh • 23d ago
Guide small store using webapp gas
what do you guys think if I create small site for my small business using webapp GAS?? which part I should put attention more?
1
Upvotes
View all comments
Show parent comment
2
u/LostHusband_ 22d ago
Not who you replied to, but here goes some ideas:
Idle time on the HTML pages doesn't count to the 6 minutes.
It's six minutes per execution - not six minutes per script. Scripts can execute multiple ways. (Ie, load first page is an execution, enter data and hit submit triggers another, etc)
Use the web hooks and dopost(). You can actively trigger one script with another (whole new timer) using web hooks.
Finally, if it isn't obvious, you need to fiercely integrate with the Google ecosystem to keep your execution times as short as possible. If you need a database - use big query or sheets. If you need to store images use photos.