Support the ongoing development of →
posted 2 years ago
Laravel Cache
Last updated 2 years ago.

i dont know about caching ,but i know that if the view is static that means it dose not change and it's public to all you shoude call it from Route; but if the view is dynamic and using different data ,meybe it also checking or dose some processes before showing so the calling use controller is more usefull .

about cache i think if the method view() cache the view it will cache it automatically by call it from Route or Controller ,coz it is the same method.

about caching ,you can learn more about Route


Sign in to participate in this thread!


Your banner here too?

Mohsen Movahed bidak Joined 30 Sep 2021


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

Your logo here?

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

© 2024 - All rights reserved.