Optimizations that caches!

Published by: Mads Bram Cordes, Founder of hasty.dev on Nov 17, 2022


I might not have been very active on the socials - namely Twitter these past weeks. Due to some personal reasons, I have not been able to work on any side-projects. Sadly, and I'm so, so sorry! 😢

Today has been very different though! I've been typing away, and quite fast - if I should say so myself 🥹

Thus, prepare yourselves for the new and massively improved hasty.dev! 😍


[New]

We all love those fast and snappy site, right? Well, the secret sauce is sometimes caching, something I've not implemented on hasty.dev - until now! Whoop! 🚤 So, please, enjoy the power of caching!

Of cause it won't be cached for ever, just a few moments, so if you might click the Run by accident right after another run, this won't hurt anybody now.

What happens if you change the code, then? Well, it's a completely new payload, meaning the tasks will be run anew! Also, the percentages will update according to these new op/s.


Quite a few new improvements, I don't even know where to start 🤷

[Improvement]

Use the proper fetching mechanism for the front-end - this has been a tech-debt for quite awhile. I'm using SvelteKit, just FYI. Simply haven't been able to love any other front-end SSR framework as much!

Along with this, I've messed a bit with the request and responses, these are now far smaller than before! This should - maybe - equal to some faster answers to whatever you might seek!

The API got the largest overhaul, this also means the deployment process. The docker-image is now exactly half the size of what it used to be! - Did somebody say faster releases? Heck ya!

All in all, clarified the code for future me to work in - I'll love past self in the future 🤗


[Fix]

What about being able to see those variable texts of one of the notebooks, those are much better handled now. You're welcome! 🤩

Hopefully fixed issues with the API, that unfortunately seems to disconnect from the data-store at randomized weird moments 🫣

Also, a big mystery still is the recovering from a complete panic, these are still on a testing basis, but might the right ones now.


On other - related - news: I have decided to try out with the new (a tad old) kid in the yard! Mastodon, here I am... @Mobilpadde@techhub.social.

Thanks!


Sunshine Social

hasty.dev

Comments (0)