Laravel Community Tools by Tighten

Category "Cache" tricks

20 tricks
Laravel Installation, how to laravel latest version
dave 8 years ago 6568
Laravel Load More Data on Page Scroll – Laravel 5
dave 8 years ago 8987
View composers are nice but they have some problems accocsiated with them. 1- you never know where the data is coming from when you look at your html 2- They offer no easy way of caching the result. You can use the "widget pattern" to have much better performance and structure in your apps + many more bonuses ! :)
imanghafoo... 8 years ago 6423
storing cache date using file driver in 5.1
PunnaRao 10 years ago 6611
5.0
In this article I'm gonna show you how to setup Laravel with Redis cache. Cloudways offers Laravel Development Framework on its Managed Cloud Web Hosting Platform. You also have the option to use Redis Cache, which is different from Memcached in the sense that it has persistence. Further advantages of Redis over Memcached are that it works with more data types, and it uses less memory. Here are the article link: http://www.cloudways.com/blog/setup-laravel-redis-cache/
wajidstack 10 years ago 8496
4.1
symply dont register unessecary route you dont have to use facade, $router instance is set by the function in route provider with config cached and files compiled i get app booted in ~30ms vs ~50 on my dev server
d3v2a 10 years ago 8833
5.0
On many occasions, I use the subdomain to generate dynamic routes and a custom user experience. The current Laravel subdomain filter, requires a lot of extra work when generating routes. Each time you generate a route, using the laravel route() helper, you have to pass the subdomain as the first parameter. This provides an alternative method without having to pass the subdomain to route(). https://github.com/laravel/laravel/issues/2515 for additional follow-up
jaketoolso... 11 years ago 46979
Combining Model Observers and Cache Tags for very simple but elegant automatic cache flushing on Eloquent Model updates. Can handle both a Model and its Relations easily!
nik-418 12 years ago 30247