Create a Microservice with Symfony Part 18: Cache Tutorial (Symfony 6 Tutorial 2022)

preview_player
Показать описание
ℹ This is a series on building a Microservice with Symfony Framework (version 6). In part 18 we'll give our service a performance boost by caching the result of our promotions query.

💻Source code here:

💻Integrating app source code here:

👇Follow me on Social Media:

💕Show support:
Рекомендации по теме
Комментарии
Автор

"Fat controller"

Not heard that one before. Love it

ste
Автор

Nice one Gary, thank you for this - looking forward to the next one 👍

johnfawcett
Автор

Can you demonstrate cronjob using command for data retention

nunagames
Автор

Gary, nice again. Especially the caching outside the controller.
But, invalidation if this cache is key. What if one of the params changes in the database? You get them still from the cache.

parijke
Автор

Looking forward for the next one.
😁

You could have used Doctrine's result cache for that as well.

CViniciusSDias
Автор

Isn't it better to first seralize data before storing? Since symfony objects can be quite large?

pitchwaiz
Автор

I'm finding that it is not caching object relations

ste
Автор

I've noticed that you are using Why do you do this instead of dependency injecting the repository directly into the class (or method)?

The result would be

ste
visit shbcf.ru