Code Monkey home page Code Monkey logo

busted's Introduction

=== 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](pdclark#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](pdclark#5).
* Fix: Enable in wp-admin. For real this time.
* Fix: Hopefully suppress mysterious notice on login screen. Thanks @norcross.

busted's People

Contributors

norcross avatar pdclark avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.