Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,704 members, 7,816,878 topics. Date: Friday, 03 May 2024 at 07:15 PM

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

Nairaland Forum / Science/Technology / Programming / Web Developers... Programmers LISTEN Up! (1790 Views)

Urgent Vacancy For Software Engineers/developers/programmers: Remote Work / Would Love To Meet/know Developers/programmers / Names and Numbers Of Bad App Developers/programmers in Nigeria (2) (3) (4)

(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(m): 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(m): 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(m): 12:03pm On Jun 30, 2023
silento:


Outdated

But it still works right?!
Re: Web Developers... Programmers LISTEN Up! by ljtwp(m): 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...



php artisan optimize:clear

To clean all cache in one command

(1) (2) (Reply)

Who Knows Phone Programming / Self-taught Programmers Vs Trained-taught Programmers / How To Make Money Coding Without A Job

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 56
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.