₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,906 members, 8,428,589 topics. Date: Wednesday, 17 June 2026 at 04:41 PM

Toggle theme

Web Developers... Programmers LISTEN Up! - Programming (2) - Nairaland

Nairaland ForumScience/TechnologyProgrammingWeb Developers... Programmers LISTEN Up! (2333 Views)

1 2 Reply (Go Down)

Re: Web Developers... Programmers LISTEN Up! by bassdow: 4:53pm On Jun 03, 2023
ljtwp:
I have been working with laravel (php) recently and honestly the caching can really waste your time especially in production..

You can use this bash script to handle your cache cleaning after every new commit to production server..
name: cache.sh
*!#/bin/bash
php artisan config:cache
php artisan config:clear
php artisan cache:clear
php artisan route:cache
php artisan route:clear
clear*

it just helps to handle the caching for you...
why use Cache in development. Well except I am working on existing project, I tend to avoid frameworks such as laravel, symfony, etc - simple things often becomes complex.
Re: Web Developers... Programmers LISTEN Up! by ljtwp(op): 12:02pm On Jun 30, 2023
silento:
Why
I was just tired of doing thesame thing over and over and over again . Every day
Re: Web Developers... Programmers LISTEN Up! by ljtwp(op): 12:03pm On Jun 30, 2023
bassdow:
why use Cache in development. Well except I am working on existing project, I tend to avoid frameworks such as laravel, symfony, etc - simple things often becomes complex.
Laravel does autocache so it's best to clear
Re: Web Developers... Programmers LISTEN Up! by ljtwp(op): 12:03pm On Jun 30, 2023
silento:
Outdated
But it still works right?!
Re: Web Developers... Programmers LISTEN Up! by ljtwp(op): 12:04pm On Jun 30, 2023
bassdow:
Abeg leave am, e be like say na new commer
I have been on Nairaland since 2013... This is just a new account thank you🤗 other account is @abdegenius you will see my post up here as far back 10 years ago
Re: Web Developers... Programmers LISTEN Up! by Ronin1: 8:53pm On Jul 03, 2023
ljtwp:
I have been working with laravel (php) recently and honestly the caching can really waste your time especially in production..

You can use this bash script to handle your cache cleaning after every new commit to production server..
name: cache.sh
*!#/bin/bash
php artisan config:cache
php artisan config:clear
php artisan cache:clear
php artisan route:cache
php artisan route:clear
clear*

it just helps to handle the caching for you...
[color=#009688]

php artisan optimize:clear

To clean all cache in one command

[/color]
1 2 Reply

Urgent Vacancy For Software Engineers/developers/programmers: Remote WorkA Set Of Developers, Programmers And Designers Wanted For A Long Term ProjectWould Love To Meet/know Developers/programmers234

What's The Company You Dream Of Working For As A ProgrammerNeed Help With This CodeThe Tao Of Programming