Skip to content

Commit fd5dc97

Browse files
committed
fix: 🐛 cache config for faster loads
1 parent be3961e commit fd5dc97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

update.sh

+3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ php artisan down
1515
php artisan clear
1616
php artisan cache:clear
1717
php artisan config:clear
18+
php artisan route:clear
1819
php artisan view:clear
20+
php artisan optimize:clear
1921

2022
# Try taking pull, if dont work then prompt for stash
2123
if git pull origin main; then
@@ -43,5 +45,6 @@ chmod -R 775 storage/* bootstrap/cache
4345
chown -R $USER:www-data .
4446

4547
php artisan up
48+
php artisan optimize
4649

4750
echo "Success! Your application is now up-to-date."

0 commit comments

Comments
 (0)