Title: Awebsome Browser Selector for CACHING
Author: James Revillini
Published: <strong>11.4.2013</strong>
Last modified: 12.4.2013

---

Hae lisäosia

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/awebsome-browser-selector-for-caching.
svg)

# Awebsome Browser Selector for CACHING

 [James Revillini](https://profiles.wordpress.org/jrevillini/)

[Lataa](https://downloads.wordpress.org/plugin/awebsome-browser-selector-for-caching.1.0.2.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/awebsome-browser-selector-for-caching/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/awebsome-browser-selector-for-caching/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/awebsome-browser-selector-for-caching/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/awebsome-browser-selector-for-caching/#developers)

 [Tuki](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/)

## Kuvaus

#### Quick, Non-technical Overview

If you use the Awebsome! Broswer Selector plugin AND a caching plugin (e.g. WP SuperCache),
the wrong body classes will be served to your site visitors and could cause your
site to render incorrectly. This plugin overcomes that limitation of ABS!

#### Technical Details

ABS adds classes to the body of your site using WordPress hooks; this is a problem
for caching sites because you do not want those classes cached and served to other
clients as they will be inaccurate (e.g. a Mozilla Firefox user could get served
a page with body classes that indicate that they use Safari). The result can range
from rendering your site incorrectly to the wrong code being executed. This plugin
leverages some of the functionality of ABS to generate accurate classes _dynamically_
on every page load and add them to the body class attribute using JavaScript and
AJAX (leverages jQuery).

#### Please Note

This plugin _must_ be installed in conjunction with ABS 2.2 or higher.

[Awebsome! Broswer Selector for Caching Plugin Page](http://wp.me/Pioil-Rs)

## Asennus

 1. Install the plugin from your wordpress plugin manager or upload the plugin ZIP 
    file to the plugin manager.
 2. Activate the plugin.
 3. Recommended: Clear your WordPress cache; follow your caching plugin’s documentation
    for instructions on how to do this.

## UKK

  How do I know it’s working?

Inspect the classes applied to the body tag and make sure you see ’awebsome-bs-for-
caching’ in there somewhere.

There are several ways to do this:

 * JavaScript URL bar method – while on your site, in the address bar, paste this
   code and hit return: `javascript:(function(){alert(document.getElementsByTagName('
   body')[0].getAttribute('class'))})();void(0);`
 * JavaScript Console method – paste this into the JS console and hit return: `(
   function(){alert(document.getElementsByTagName('body')[0].getAttribute('class'))})();`

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Awebsome Browser Selector for CACHING” perustuu avoimeen lähdekoodiin. Seuraavat
henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

 *   [ James Revillini ](https://profiles.wordpress.org/jrevillini/)

[Käännä “Awebsome Browser Selector for CACHING” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/awebsome-browser-selector-for-caching)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/awebsome-browser-selector-for-caching/),
check out the [SVN repository](https://plugins.svn.wordpress.org/awebsome-browser-selector-for-caching/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/awebsome-browser-selector-for-caching/)
by [RSS](https://plugins.trac.wordpress.org/log/awebsome-browser-selector-for-caching/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

= 1.0.2
 * BUGFIX http/https select for ajax call for browser classes

#### 1.0.1

 * removed a debugging function I accidentally left outside the class scope

#### 1.0

 * Initial release

## Metatiedot

 *  Version **1.0.2**
 *  Last updated **13 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 3.5.1 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/awebsome-browser-selector-for-caching/)
 * Tags
 * [browser](https://fi.wordpress.org/plugins/tags/browser/)[caching](https://fi.wordpress.org/plugins/tags/caching/)
   [css](https://fi.wordpress.org/plugins/tags/css/)[sniffer](https://fi.wordpress.org/plugins/tags/sniffer/)
   [user agent](https://fi.wordpress.org/plugins/tags/user-agent/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/awebsome-browser-selector-for-caching/advanced/)

## Arvosanat

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/reviews/)

## Avustajat

 *   [ James Revillini ](https://profiles.wordpress.org/jrevillini/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/awebsome-browser-selector-for-caching/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QBHP7AUYRQ5S2)