Caching Authenticated Users in Laravel

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 9

  • @inamrasluzd6524
    @inamrasluzd6524 13 днів тому

    Very nice tutorial. Based on this, could you do a short tutorial on Spatie Response Cache?

  • @eslammostafa1247
    @eslammostafa1247 17 днів тому +1

    Thank you :)

  • @keyvanakbarzadeh
    @keyvanakbarzadeh 17 днів тому +1

    awsome🤩

  • @nrm604
    @nrm604 17 днів тому

    good stuff! when's the next course on codecourse? thanks

    • @codecourse
      @codecourse  16 днів тому +1

      Glad it helped. And, very soon!

  • @tiran133
    @tiran133 15 днів тому +1

    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.

    • @codecourse
      @codecourse  11 днів тому

      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!