I am working on a project in laravel 5.3 where I need to get a big data from my DB. so what I am doing right now is getting data though Query and then saving it in session so that no further DB query is needed for next time.
Is it bad practice somehow? Or any other better alternative like DB caching?