You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue with the full-page cache. I've read through the documentation, asked on Discord, and researched online, and the issue persists.
Most of the time the caching works, and randomly at different points throughout the day, it will stop working for random expected cached pages. I will see in my error log:
Static cache loaded [https://(domain).com/] If you are seeing this, your server rewrite rules have not been set up correctly.
This site has high traffic, and it happens sometimes but not all the time and at random intervals (nothing during deployment).
How to reproduce
Enable Full Page Cache (env: STATAMIC_STATIC_CACHING_STRATEGY="full")
if [[ $FORGE_DEPLOY_MESSAGE=~"[Autosave]" ]];thenecho"Automatically committed on production. Nothing to deploy."exit 0
fi
( flock -w 10 9 ||exit 1
echo'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock
cd /home/forge/(domain).com
git pull origin $FORGE_SITE_BRANCH$FORGE_COMPOSER install --no-interaction --prefer-dist --optimize-autoloader
npm ci
npm run build
$FORGE_PHP artisan cache:clear
$FORGE_PHP artisan config:cache
$FORGE_PHP artisan route:cache
$FORGE_PHP artisan ratings:refresh
$FORGE_PHP artisan queue:restart
$FORGE_PHP artisan statamic:search:update --all
$FORGE_PHP artisan statamic:static:clear
$FORGE_PHP artisan statamic:assets:generate-presets --queue
$FORGE_PHP artisan statamic:static:warm
Logs
Static cache loaded [https://(domain).com/premium-features] If you are seeing this, your server rewrite rules have not been set up correctly.
Static cache loaded [https://(domain).com/] If you are seeing this, your server rewrite rules have not been set up correctly.
Static cache loaded [https://(domain).com/blog] If you are seeing this, your server rewrite rules have not been set up correctly.
There hasn't been any comments on this issue in a while - none since the last comment requesting more information (reproduction repo / logs).
There seems to be a newer, more active issue about the same error (#8860) so I'm going to close this issue in favour of that one. Feel free to provide additional info on that issue.
Bug description
Hey folks 👋
I'm having an issue with the full-page cache. I've read through the documentation, asked on Discord, and researched online, and the issue persists.
Most of the time the caching works, and randomly at different points throughout the day, it will stop working for random expected cached pages. I will see in my error log:
This site has high traffic, and it happens sometimes but not all the time and at random intervals (nothing during deployment).
How to reproduce
STATAMIC_STATIC_CACHING_STRATEGY="full"
)Static Cache Strategies:
Static Cache Excludes:
Statatic Cache Ignore Query Strings:
Logs
Environment
Someone recommended turning off OpCache; this is disabled, and the issue still persists.
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: