🔥 Laravel tip: refresh the cache with a request parameter
Sep 14, 2022
Sometimes we need to refresh the cache on a page. I like to add a refresh parameter.
This way anytime I need fresh cache I can just send `?refresh` in the URL.
This way anytime I need fresh cache I can just send `?refresh` in the URL.
Other tips:
🔥 Laravel tip: the `isDirty` method
Jan 28, 2022
🔥 Laravel tip: Tables in commands
Apr 28, 2022
🔥 Laravel Tip: Map vs Transform in collections
Sep 13, 2022