# Force Refresh #
**Contributors:** [jordanleven](https://profiles.wordpress.org/jordanleven)  
**Tags:** force, refresh, reload, single, page, application, ajax  
**Requires at least:** 4.0.0  
**Tested up to:** 5.2  
**Stable tag:** 2.1.0  
**License:** GPLv2 or later  

Force Refresh is a simple plugin that allows you to force a page refresh for users currently visiting your site. Additionally, you may force refreshes on a per-page or post basis.

## 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](https://wordpress.org/support/plugin/force-refresh). This is a new plugin and I'm hoping to add more user-requested features to make this useful to developers.

## 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."

## Screenshots ##
1. Under Tools, you can click "Refresh Site"
2. After clicking the button, you'll receive confirmation that you've requested connected browsers to refresh.

## Changelog ##

### 2.1 ###
* Adds support for refreshing custom post types

### 2.0 ###
* Adds the ability to choose from one of four pre-set refresh intervals, from 30 seconds up to 120 seconds.
* Adds support for displaying a Force Refresh button in the WordPress Admin Bar
* Adds support for forcing a refresh on a per-page or post basis.

### 1.2 ###
* The ability to perform a refresh is now assigned to a capability called, "Invoke Force Refresh" – allowing you to granularly control what types of users and roles can invoke a refresh.

### 1.1.2 ###
* Update dependencies

### 1.1.1 ###
* Code cleanup

### 1.1 ###
* Bug fixes

### 1.0 ###
* Initial release