Hacker News new | ask | show | jobs
by rajasimon 1517 days ago
This is awesome and I like it already because it's developed using Python. One more thing you're calling all of the Google API in a single view and I believe that will take quite some time to load. I have used htmx to solve this. After the page loads htmx will fire the API call to fetch the template response.
1 comments

Thanks!

I do load the GA and Stripe data asynchronously via XHR requests. The initial load does take quite a bit of time. After that, I cache the results to the database and load from there first so subsequent loads are much quicker.

Do you think htmx would help with this still?