Cache in Laravel | How to Create Cache in Laravel | How to Use Cache in Laravel

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 60

  • @codewithdary
    @codewithdary  2 года назад +1

    LETS CONNECT THROUGH INSTAGRAM.
    instagram.com/codewithdary

  • @mr_presley
    @mr_presley 3 года назад

    Will watch at night after work...Thanks for uploading

    • @codewithdary
      @codewithdary  3 года назад

      You got my respect! Let's get it!

  • @isaacnewtonaranas3770
    @isaacnewtonaranas3770 2 года назад +1

    I thank God that at last I know laravel for atleast 50% skilled at it. Im laravel frontend since 2017 and like what, wishing that someday will be able to be a backend here using laravel. Thanks Dary, you're updated contents really helps me and the way you teach these are pretty clear for a beginner like me. I wish this laravel dont upgrade to some what version 9 soon haha. so I'll be able to still learn in these series. I'm watching youtube videos to learn laravel cause I love it, but a lot of videos are boring and most of it are outdated. Yours is not, and is easy to learn. This is the first time that I'm confident in installing laravel and go make modules on it. That's all haha, really really BIG HELP! Stay safe and God bless you Dary and your family!

    • @codewithdary
      @codewithdary  2 года назад +1

      Laravel will be updating in January to 9 haha :(. Thank you so much for your kind words Isaac, appreciate it a lot :)

    • @isaacnewtonaranas3770
      @isaacnewtonaranas3770 2 года назад +1

      @@codewithdary Thank you Dary for informing about the version and for replying here haha. Lucky me being get noticed 😁😎 I know it's kinda scary for the new laravel version but I'll wait for new videos from you regarding laravel 9. Thank you so much!

  • @noormohammadsiddiqui7737
    @noormohammadsiddiqui7737 3 года назад +4

    That's great idea. I am gonna follow you for sure ❤️

  • @Venom-fq3hg
    @Venom-fq3hg 6 месяцев назад +1

    thanks for great explanation😀

  • @amrhussien2448
    @amrhussien2448 2 года назад +2

    Thank you very much.. I have a question.. If there is a change in one of the records, what will happen ?

  • @izk5578
    @izk5578 3 года назад

    You are so smart lol, started html and css a few weeks ago and i can't see me doing that kind of stuff in prob 10 years xD

  • @tahasamadi3730
    @tahasamadi3730 2 года назад +1

    i learned a lot of thing from you videos

    • @codewithdary
      @codewithdary  2 года назад +1

      I love to hear that Taha, keep it up :)

  • @gt-nemachtillicomposer5478
    @gt-nemachtillicomposer5478 Год назад +1

    Hello, very good video. What is the best practice? in the following scenario have three types of users where one is Admin, Editor and User.
    Apply cache in the controllers by minutes or by hours, it depends on the user.
    To avoid constant continuous requests to the database.

    • @codewithdary
      @codewithdary  Год назад

      I don't really think storing that inside a cache is very useful, I would store it inside a session.

  • @josephajibodu2377
    @josephajibodu2377 3 года назад +1

    Valuable one. Thanks.
    I needed a quick introduction to cache when I started working with an API with rate limits. Thanks.
    Please how are you getting auto imports and suggestions on vscode for Laravel.

  • @busariibrahim8437
    @busariibrahim8437 3 года назад +4

    Hey dary, can you please create a comprehensive project using laravel so as to understand laravel in depth

    • @codewithdary
      @codewithdary  3 года назад +2

      I'm thinking about it bud! Not sure when though

  • @FHBStudio
    @FHBStudio Год назад +1

    Took me a while to get you meant "facade" when you said "vacate" lol.

    • @codewithdary
      @codewithdary  Год назад

      LOL, I'm sorry

    • @FHBStudio
      @FHBStudio Год назад

      @@codewithdary It's fine 😉 Language isn't the topic of the video anyway, except maybe the programming language.

  • @rezasiahcheshm
    @rezasiahcheshm 2 года назад +1

    thank you for awesome video. ❤

  • @dheeraj_kumar_1508
    @dheeraj_kumar_1508 Год назад +1

    love the content

  • @yacobee
    @yacobee 2 года назад +1

    Thank you.

  • @syedjackson6931
    @syedjackson6931 2 года назад +1

    thanks man

  • @devcaffeinated2248
    @devcaffeinated2248 3 года назад +1

    Hello Dary, will you be having a tutorial on how to test cached data? please? 🙏🏼

  • @adil.bashir
    @adil.bashir 2 года назад +1

    Hey Dary, hope you are doing well, thanks for the wonderful video. I am in need of Memcached to implement in laravel 8 on the windows operating system. I have tried multiple things but in the end, I am receiving the error class Memcached not found. Could you please help me out? It's very urgent. Nobody implemented Memcached in laravel 8 on windows till now, I have checked all the sources. Please have a look. Thanks in advanced

    • @codewithdary
      @codewithdary  2 года назад

      Hi Adil. I try to share all my experience through my videos. I can't help everyone 1 on 1 with their coding issues..

  • @soorajthekkepatt
    @soorajthekkepatt 3 года назад

    You are a gem bro ❤️

  • @1337kaas
    @1337kaas 3 года назад +1

    Memcached actually requires almost no config while redis can be configured in many ways (also as a persistent database)

  • @adorablebabiesandpets2514
    @adorablebabiesandpets2514 3 года назад

    Hi Dary your videos are awesome....can you help with solid principles in laravel

  • @ulaskorpe
    @ulaskorpe Год назад +1

    very good tutorial , but you should cut it into parts like cache-events- migrations

    • @codewithdary
      @codewithdary  Год назад

      Thank you Ulas! You mean into separate videos or separate chapters?

    • @JacksonKon
      @JacksonKon Год назад

      ​@@codewithdaryI would love to see chapter wise separation of deep dive cache

  • @-NguyenBuiAnhKhoa
    @-NguyenBuiAnhKhoa 7 месяцев назад

    Can someone explain to me why he put a function inside the cache helper cache('post',function(){...})

  • @nipunsachinda
    @nipunsachinda 2 года назад +1

    can you crate video how google calendar api in laravel 8 project

    • @codewithdary
      @codewithdary  2 года назад +1

      Might definitely do it in the future!

  • @dimasbaguspm
    @dimasbaguspm 3 года назад +2

    ❤️

  • @squattingnomad6298
    @squattingnomad6298 2 года назад +1

    What is the difference between Cache::add and Cache::put?

    • @codewithdary
      @codewithdary  2 года назад

      Functionality is identical, but the add method will not do anything if the item has already been cached.

  • @hoaianle3940
    @hoaianle3940 Год назад

    I feel like it slow compare to cache on Ram ( I try redis and it slow too).

  • @sawyer303
    @sawyer303 2 года назад +1

    Why is is blurry, yet 1080p@60?

    • @codewithdary
      @codewithdary  2 года назад

      RUclips settings :( I have it too when I watch some other YT videos. Super weird.

  • @surajsuwal4703
    @surajsuwal4703 2 года назад

    why we need to remove cache even iy has not been set in listener?

    • @codewithdary
      @codewithdary  2 года назад

      Could you add the timestamp for me Suraj? I think that was just to show you that you could (not sure).

  • @AdilKhan-vf2es
    @AdilKhan-vf2es 2 года назад

    Why did he put $dispatchedEvents in the Model? How can that be useful? Trying to see what he's doing with that.
    Great tutorial by the way

  • @lijinv674
    @lijinv674 3 года назад

    ✌🏻