Step 1. Deleting server cache
Nginx Cache Controller plugin puts WordPress generated caches under
You should manually flush old cache using the below command after accessing SSH to the server, if you put or modified widgets, CSS, JS, or any static files.
$ rm -rf /var/cache/nginx/proxy_cache/*
note: no need to input $ letter in the front of the line.
Check out Testing server SSH credentials
section of Accessing your server and Installing WordPress for how to SSH access.
Step 2. Flush CDN cache (for AMIMOTO Managed Hosting)
Next, Flush CDN cache with C3 Cloudfront Cache Controller plugin.
Login to WordPress dashboard then click [Flush All Cache] button under [CloudFront] menu.
Checkout how to do it: Using the C3 Cloudfront Cache Controller WordPress Plugin
Step 3. Confirm
All caches are flushed. Let's confirm caches are updated. Set browser to private mode (incognito mode) or delete browser cache then access your website.
How to open page with private mode
- Firefox: Private Browsing - Use Firefox without saving history
- GoogleChrome: :Private browsing
- Safari: Browse in private in Safari on Mac
How to clear browser
- Firefox: How to clear Firefox cache
- GoogleChrome: Clear cache and cookies
- Safari: Click [Empty Cache] menu under [Development] menu. Use the developer tools in the Develop menu in Safari on Mac