My container takes approximately 200ms to instantiate. The issue is that I instantiate a new one for each request, it allows me to inject a context with the current logged in user everywhere I want. Is there a way to speed up container instantiation or something I am doing wrong? Or is there another way to achieve what I want ?
My container takes approximately 200ms to instantiate. The issue is that I instantiate a new one for each request, it allows me to inject a context with the current logged in user everywhere I want. Is there a way to speed up container instantiation or something I am doing wrong? Or is there another way to achieve what I want ?