-
Notifications
You must be signed in to change notification settings - Fork 8
/
readme.txt
68 lines (47 loc) · 2.32 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
=== Busted! ===
Contributors: pdclark
Plugin URI: https://github.com/pdclark/busted
Author URI: http://pdclark.com
Tags: browser cache, develop, debug, client, clear, empty, refresh
Requires at least: 3.4
Tested up to: 4.2
Stable tag: 1.4
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Force browsers to load the most recent file if modified.
== Description ==
Saves you from asking "have you emptied your cache?".
**Features**
* Safe to leave running on live sites.
* Only refreshes browser cache for a file if it has been modified.
* Resolves Content Delivery Network (CDN) issues. No need to purge CDN cache.
* Multisite compatible.
* "Just works" — no configuration necessary.
**Requirements**
Requires scripts use any of the below functions to load. Almost all files meet these requirements. The only case it doesn't account for is when URLs are hard-coded. This shouldn't ever be done, since it can break sites for other reasons.
* [wp_enqueue_style](http://codex.wordpress.org/Function_Reference/wp_enqueue_style)
* [wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
* [get_stylesheet_uri](http://codex.wordpress.org/Function_Reference/get_stylesheet_uri)
Photo credit: [Brent Schneeman](http://www.flickr.com/photos/schneeman/3286137238/) – [cc](http://creativecommons.org/licenses/by-nc/2.0/)
== Installation ==
1. Search for "Busted" under `WordPress Admin > Plugins > Add New`
1. Install the plugin.
1. Activate the plugin.
== Changelog ==
= 1.4 =
* Fix: Enable for stylesheets, not just JavaScript. Thanks [@francescolaffi](https://github.com/pdclark/busted/issues/5).
* Fix: Enable in wp-admin. For real this time.
* Fix: Hopefully suppress mysterious notice on login screen. Thanks @norcross.
= 1.3 =
* New: Change version slug to 'b-modified' to avoid user confusion.
= 1.2 =
* New: Enable in wp-admin. Thanks @norcross.
= 1.1 =
* New: Only refresh cache if file has been modified. Thanks [@unserkaiser](https://twitter.com/unserkaiser/status/402995947430375424).
= 1.0 =
* Initial public release.
== Upgrade Notice ==
= 1.4 =
* Fix: Enable for stylesheets, not just JavaScript. Thanks [@francescolaffi](https://github.com/pdclark/busted/issues/5).
* Fix: Enable in wp-admin. For real this time.
* Fix: Hopefully suppress mysterious notice on login screen. Thanks @norcross.