Created
September 20, 2022 10:59
-
-
Save wesort/e69ec1518f0f13a4eff0b031e7d80122 to your computer and use it in GitHub Desktop.
Refresh utility for Statamic v3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan cache:clear # Clear the Laravel application cache. | |
php artisan config:cache # Clear and refresh the Laravel config cache. | |
php artisan route:cache # Clear and refresh the Laravel route cache. | |
php artisan statamic:stache:warm # Warm the Statamic stache. | |
php artisan statamic:search:update --all # Update the search index. | |
php artisan statamic:static:clear # Clear the Statamic static cache (if you use this). | |
#php artisan statamic:static:warm --queue # Warm the Statamic static cache (if you use this). | |
echo 'warming /work ...' | |
curl -# https://example.com/large-page > /dev/null | |
echo '/work is warmed.' | |
php artisan statamic:assets:generate-presets # Generate all asset presets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment