I have been having issues for the past 24hours where my project (Laravel 11/ Backpack 6) are not able to fetch css from CDN. I noticed the issue in both local dev machine and my online staging server. Anyone experiencing the same issue? Any ideas? Seems like a CDN issue..
I have been having issues for the past 24hours where my project (Laravel 11/ Backpack 6) are not able to fetch css from CDN. I noticed the issue in both local dev machine and my online staging server. Anyone experiencing the same issue? Any ideas? Seems like a CDN issue..
Share Improve this question asked Nov 20, 2024 at 14:39 Tariiq DusmohamudTariiq Dusmohamud 637 bronze badges 2- Please add relevant code snippet – SuperDJ Commented Nov 20, 2024 at 15:43
- There is no specific code, the problem is site wide – Tariiq Dusmohamud Commented Nov 21, 2024 at 4:02
2 Answers
Reset to default 1I can relate... the CDN is causing the issue. I'm experiencing the slow response. Here is how I solved it by caching it locally.
Add BASSET_DEV_MODE=false
to your .env and run php artisan basset:cache
.
This issue is indeed related to theme tabler. It can be fixed by uninstalling the theme with:
composer remove backpack/theme-tabler
and reinstalling it with:
composer require backpack/theme-tabler