Support the ongoing development of Laravel.io →
Cache IOC Architecture

I'm thinking about how it would be increase performance if we keep IoC container in Redis Cache During each request , does it practical or not?

for example In the core of framework Laravel detects if redis service is available , If its available then it saves some services they have same instance value for each request , then for next request it doesn't need to reload all , Redis Cache will give container saved instances .

Please give me your opinion if this scenario is practical or not . thanks

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

iraitc iraitc Joined 7 Dec 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.