This adds more headache than it solves. If your app relies on a 1ms db query (Yes, I know it's local, but prod shouldn't be much slower.), you either need to look at other languages or your app has a problem somewhere else. I understand your disclaimer is not for every app, but I would argue if you need to micro optimise your app like that, you're doing something wrong.
Thank you for your comment! I get that for the vast, vast majority of applications this wouldn't be needed. However, I've personally worked on high traffic applications that have benefited from the user being cached. That's why (as you mentioned) I added the disclaimer, because I'd hate for this video to be taken as "speed up any app using this" when it's useless to the majority. Oh, and I love to cover these types of concepts because... they're just really interesting!
Very nice tutorial. Based on this, could you do a short tutorial on Spatie Response Cache?
Sure thing!
Thank you :)
You're welcome!
awsome🤩
good stuff! when's the next course on codecourse? thanks
Glad it helped. And, very soon!
This adds more headache than it solves. If your app relies on a 1ms db query (Yes, I know it's local, but prod shouldn't be much slower.), you either need to look at other languages or your app has a problem somewhere else. I understand your disclaimer is not for every app, but I would argue if you need to micro optimise your app like that, you're doing something wrong.
Thank you for your comment! I get that for the vast, vast majority of applications this wouldn't be needed. However, I've personally worked on high traffic applications that have benefited from the user being cached. That's why (as you mentioned) I added the disclaimer, because I'd hate for this video to be taken as "speed up any app using this" when it's useless to the majority. Oh, and I love to cover these types of concepts because... they're just really interesting!