feat: refine bandwidth enforcement mechanism in Proxmox server component by adding detailed logging for usage violations, enhancing monitoring capabilities
This commit is contained in:
31
clear-cache.sh
Normal file
31
clear-cache.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Clear Laravel/Livewire view cache
|
||||
|
||||
echo "=== Clearing Laravel Caches ==="
|
||||
cd /var/www/paymenter
|
||||
|
||||
echo "1. Clearing view cache..."
|
||||
php artisan view:clear
|
||||
|
||||
echo "2. Clearing config cache..."
|
||||
php artisan config:clear
|
||||
|
||||
echo "3. Clearing route cache..."
|
||||
php artisan route:clear
|
||||
|
||||
echo "4. Clearing application cache..."
|
||||
php artisan cache:clear
|
||||
|
||||
echo "5. Clearing compiled classes..."
|
||||
php artisan clear-compiled
|
||||
|
||||
echo "6. Deleting specific compiled view..."
|
||||
rm -f storage/framework/views/1075fa95e101ea7c85d0b4ca9e4480b3.php
|
||||
|
||||
echo "7. Listing remaining compiled views..."
|
||||
ls -lh storage/framework/views/ | head -20
|
||||
|
||||
echo ""
|
||||
echo "=== Cache Cleared Successfully ==="
|
||||
echo "Try reloading the homepage now!"
|
||||
|
||||
Reference in New Issue
Block a user