If frontend changes are not visible after updating styles or layout settings, the issue is usually caused by cached HTML being served instead of the latest version.
36.1 Problem #
After updating:
- CSS
- Widgets
- Theme settings
- Layout structure
The frontend does not reflect updates.
Technical Context #
- Cached static HTML is still being served
- Output buffer contains stale
.htmlfiles - Browser may also cache old assets
36.2 Solution #
- Go to the WordPress Admin Bar
- Click Purge All Cache
- Reload the page (hard refresh recommended: Ctrl + F5)
This deletes cached HTML files from:
wp-content/uploads/speedygo-cache/ New optimized files will regenerate automatically on the next request.
36.3 Best Practice Recommendation #
- Purge cache after major design changes
- Clear browser cache if changes still do not appear
- Use Cache Warm-Up or Preloading for seamless regeneration
Purging cache resolves most UI inconsistencies caused by stale cached output.