How to create frontend cache refresh button for website visitors WordPress
Are you trying to fix your WordPress website not updating right away?
Often users ask us why some changes they make to their site like a new blog post, widget settings, don’t appear right away. It is a common issue and very easy to fix. In this article, we’ll show you how to easily fix a WordPress website not updating right away.
Why My WordPress Site Not Updating Right Away? The most common cause of a WordPress site not updating right away is caching. By default, many WordPress hosting companies enable their own caching systems which store a temporary copy of your pages to improve website speed and reduce server load. Apart from that, you may also be using a WordPress caching plugin on your own which may not be configured properly. Last but not the least, your browser may also store a cached version of your pages in temporary storage.
Normally, when you make any change to your WordPress website those cached versions expire, and you get to see your changes right away. However, sometimes due to some configuration error this may not happen right away. In that case you will see the old version of that page for a while. The most common symptom of this problem is new posts not appearing on the homepage of your WordPress website. While you can still view the single post by clicking on the view post link from the WordPress admin area, you are unable to see it on the main page.
That being said, let’s take a look at how to easily fix this issue. Fixing WordPress Website Not Updating Issue You’ll start by first clearing the browser cache. For most users, this should fix the issue, and you wouldn’t need to proceed to step 2.
Step 1. Force Browser to Reload or Clear Cache Sometimes your browser (specially Google Chrome) will show you a cached copy of your website instead of showing the new one. To resolve this issue, you need to simply hit CTRL + F5 (or Cmd + R in Mac) buttons on your keyboard to reload the page. This will ask the browser to reload the page by fetching a fresh version. In most cases, this would fix the issue for many users. However, if that doesn’t work, then the next step is to clear your browser cache. In Google Chrome, click on the three-dot menu in the top right corner. From the menu, you need to go to More Tools » Clear Browsing Data. For more details, see our guide on how to clear cache in all major browsers.
Step 2. Clear WordPress Cache for Your Website The second and most likely cause of this issue is poorly configured WordPress caching plugin. Most caching plugins make it super easy to clear your cache with the click of a button.
1. WP Rocket If you are using WP Rocket on your website, then simply go to the Settings » WP Rocket page and click on the ‘Clear Cache’ button under the dashboard tab.
2. WP Super Cache If you are using the WP Super Cache plugin, then go to the Settings » WP Super Cache page and click on ‘Delete Cache’ button.
3. Bluehost Even if you don’t have a WordPress caching plugin installed on your website, many WordPress hosting companies deploy their own caching system by default. For instance, if you are on the Bluehost hosting platform, then you’ll notice a ‘Caching’ button in the admin toolbar. Take your mouse over and you’ll see the option to ‘Purge All’ cache. This will delete all cached files from your website.
4. SiteGround SiteGround is another top WordPress hosting company that offers its own built-in caching system. You can manage SiteGround cache by installing and activating the SG Optimizer plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to click on the Purge SG Cache button in the WordPress admin toolbar. This will clear up SiteGround cache for your website. For more hosting companies and caching plugins, see our complete guide on how to clear WordPress cache. We hope this article helped you fix WordPress website not updating right away issue. You may also want check out our guide on the most common WordPress errors and how to fix them. If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Description Force Refresh is the best plugin for requesting browsers to refresh their page. Perfect for single-page applications or pages that bring in feeds, this simple plugin will allow you to force a page refresh for users currently visiting any page of your site.
Features Support for both parent and child themes. Allows an admin to simply click a button to request browsers to refresh their page. This is done within between 30 seconds and two minutes after making the request. Ability to add refreshing capabilities to any role using the “Invoke Force Refresh” capability. Ability to refresh on a per-page or post basis. Customizable client-side refresh intervals.
Feature Requests and Bug Reports Please report any feature requests you have or bugs you encounter under the Support tab. Screenshots Under Tools, you can click “Refresh Site”After clicking the button, you’ll receive confirmation that you’ve requested connected browsers to refresh.To refresh a single page or post, locate the “Force Refresh” section under any page. Installation Upload the Force Refresh plugin to your site, and then simply activate it. To force a refresh, just navigate to “Tools”, click on “Force Refresh” and click the button that says, “Refresh Site.” Reviews Just what I needed – great plugin! knuppi October 6, 2020 Really really good!!! Thank you!!!
A Plugin for Our Times Andrew Sheard April 24, 2020 Many thanks @jordanleven for making a great plugin, which does exactly what it’s supposed to do. Really useful in these corona-crazy days when many of us suddenly find ourselves hosting timed live streams on our sites, and wanting to make the stream play without our users having to refresh the page themselves. If I can make one small suggestion: in Dashboard>Tools>Force Refresh please consider replacing the wording “Refresh interval” with “Refresh will occur within”.
So that, with the specified time, it reads “Refresh will occur within 30 seconds” (or whatever). This avoids an unwanted implication that refreshes will repeatedly occur with a 30 second (or whatever) interval between them. Essential Plugin wpu9000 April 5, 2020 Force Refresh is brilliant. Before customers were not seeing the daily updates to the website because so many people do not refresh their browsers. They were not seeing the changes and new product added.
Now I can push these changes through and customers are responding. An essential plugin for us now. Thank you! Thanks! stephengunn December 1, 2018 This plugin just made my job way easier. Thank you. This is not Excellent ! trevize May 18, 2018 The plugin works like a charm. The update which includes support for adding the Force Refresh capability to non-Admin roles like Editor and Author is exactly what I was looking for one of my project ! The author is very helpfull ! Thank you for your plugin ! just great! Quebro April 25, 2018 just great!
Read all 7 reviews Contributors & Developers “Force Refresh” is open source software. The following people have contributed to this plugin.Contributors jordanleven Translate “Force Refresh” into your language.Interested in development?Browse the code, check out the SVN repository, or subscribe to the development log by RSS. Changelog 2.2.0 Released on November 29, 2020 Add support for WordPress 5.5.3 Update Admin UI to use Vue instead of Handlebars Address issue with encoded post names 2.1.6 Released on September 29, 2020 Issue with refresh interval being ignored 2.1.5 Released on September 17, 2020 Address issue running plugin in PHP 7.2 2.1.4 Released on September 16, 2020 Address refresh loop bug when activating Issue displaying default refresh intervals 2.1.3 Released on September 16, 2020 Address refresh permissions issue 2.1.2 Released on September 7, 2020 Performance enhancements and bug fixes 2.1.1 Released on September 7, 2020 Performance enhancements and bug fixes 2.1.0 Released on October 19, 2018 Add support to request refreshes on custom post types 2.0.0 Released on October 11, 2018 Move from Xamin to LightnCandy for HTML templates Performance enhancements and bug fixes 1.1.2 Released on February 28, 2018 Update dependencies 1.1.1 Released on February 28, 2018 Bug fixes 1.0.0 Released on October 5, 2017 Initial release
How to Deal with a WordPress Website that is not Updating QuicklyIs your WordPress website not updating immediately? This is one of the many common WordPress errors you will encounter on the platform. You will know that this is happening when changes you make are not appearing on the front end of your website. This could include creating a new post, changing a widget setting, or updating a page.If everything is working out correctly, these things should happen within seconds. If they are not happening that quickly, something is clearly wrong with your website. This may not be a big deal to some websites, but if you follow a schedule it can cause quite the problem for visitors.
Today, I will demonstrate how to fix your WordPress website when it is not updating quickly.Why is WordPress Not Updating QuicklyYou are probably wondering why exactly your website is not updating quickly. The answer is quite simple, caching. A cache is best thought of as a temporary storage bin for your data. If this storage bin is not cleaned out properly, it will cause problems. One of those problems is a delay in updates taking effect in WordPress. Thus, WordPress will not update quickly anymore. Don’t Worry, this is very common and super simple to solve.It Might Not Be Your Website’s FaultInstead, you should be blaming your web browser.
It is entirely possible that you are viewing a cached copy of your website. This means that your updates are going through, but you’re still viewing the older website. This is very common in Google Chrome but easily fixed. If you are on a PC, press Ctrl + F5 or if you are on a Mac press Cmd + R. This command will force a cache refresh and guarantee you will see the updated version of the website. If this does not work, then it is most likely due to your caching plugin or lack of one.How to Solve a WordPress Website that is not Updating Quickly Today, I will demonstrate how to fix your WordPress website when it is not updating quickly. You most likely already have a caching plugin and if you do, it is poorly configured. A properly set up caching plugin will not let this happen. If you are currently not using a caching plugin, I recommend taking the time to follow this guide on how to set up the W3 Total Cache plugin.
If you want to keep using your current plugin, don’t worry, I’ll show you how to fix it.Clearing Your CacheThe first thing you should do is clear your cache. You may be using a different plugin than me, but they are all somewhat similar. For reference, I am using the W3 Total Cache plugin.On the left-hand admin panel, click on Performance and select the Dashboard option.Click on the “empty all caches” button. This will empty your cache and will most likely solve the issue. The process should be similar on other plugins, but if you are having trouble finding it, check the plugins support page.Check your website to see if the issue has resolved itself.
If so, congratulations. If not, your plugin is most likely configured wrong. Let’s try deactivating it to make sure.Deactivating Your PluginTo make sure that it is your plugin that is causing the issue, we need to deactivate it and see if the problem persists.On the left-hand admin panel, click on Plugins and select the Installed Plugins option.Locate your caching plugin and deactivate it by clicking the Deactivate option.Check to see if your website still has the updating problem. If you do not see the issue, then you need to properly configure your caching plugin so that it does not cause it to happen.
Look at you plugin’s support page or follow our guide.Every Error Has A SolutionRunning into errors is very common when you run a website. Every one of those errors you encounter will have a solution to solve. The most important part is how long it takes you to fix it. Do not get frustrated. You need to focus and quickly and effectively solve any errors that appear on your website.Another method to solve most WordPress errors is to use a backup of your WordPress website. Backups are a very powerful recovery tool and an up-to-date backup is a priceless tool for a web developer.
What was causing your website to update slowly? What caching plugin do you use on your website? Author has been writing tutorials about WordPress and other CMS for over 3 years since joining the GreenGeeks marketing team. Thanks to this, he has had the opportunity to research and master several areas of WordPress including plugin usage, SEO, website design, and social media integration.
When he is not creating content for WordPress, he is digging up new content ideas for environmental pieces. These range from the pollution in our air to the danger’s wildlife face. And with a bachelor’s degree in electrical engineering, he is always eager to discuss the way our technologies are affecting the environment, especially when it comes to solar energy.
Was this article helpful? Yes No Related Articles How to Use Product Feed Pro for WooCommerce in WordPress How to Allow Food Delivery from WordPress Using RestroPress How to Set Up a WordPress Knowledge Base with BetterDocs How to Show Social Profiles with Candy Social Widget in WordPress How to Add Seasonal Spirit to WordPress with Christmasify How to Add Email Marketing to WordPress with HustleLeave a Comment CancelCommentName Email This site uses Akismet to reduce spam. Learn how your comment data is processed.