Home » Masalah Cache Menggunakan php artisan serve

Masalah Cache Menggunakan php artisan serve

Bila di development anda menggunakan server bawaan PHP, ada masalah cache yang mungkin anda temui sewaktu development, terutama di perubahan file di folder config.

Walau perintah dibawah ini dieksekusi berkali-kali

php artisan route:clear;php artisan view:clear;php artisan config:clear;php artisan cache:clear;

hasilnya tetap sama.

Salah satu contoh kasus error :

Error executing “PutObject” on “https://clipboard-icon.png”; AWS HTTP error: Client error: `PUT clipboard-icon.png` resulted in a `400 Bad Request` response: AuthorizationHeaderMalformedThe authorization header (truncated…) AuthorizationHeaderMalformed (client): The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘ap-southeast-1’ – AuthorizationHeaderMalformedThe authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘ap-southeast-1’ap-southeast-11D4B2EA9DB4FA6219wond+erS2qJ5+U3xvlKuNEXgvRC3dTOTk3SAUcCJTp/P+wvWfxFcz/vy15gfxBhuSDSL98kRgo=

satu-satu solusinya adalah menghentikan php artisan serve, dan menjalankan ulang php artisan serve

Leave a Reply

Your email address will not be published. Required fields are marked *