{"id":22904,"date":"2013-04-11T15:26:01","date_gmt":"2013-04-11T15:26:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/awebsome-browser-selector-for-caching\/"},"modified":"2013-04-12T15:24:05","modified_gmt":"2013-04-12T15:24:05","slug":"awebsome-browser-selector-for-caching","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/awebsome-browser-selector-for-caching\/","author":111151,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"3.5.2","requires":"3.5.1","requires_php":"","requires_plugins":"","header_name":"Awebsome Browser Selector for CACHING","header_author":"James Revillini <james@revillini.com>","header_description":"","assets_banners_color":"","last_updated":"2013-04-12 15:24:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=QBHP7AUYRQ5S2","header_plugin_uri":"http:\/\/james.revillini.com\/awebsome-browser-selector-for-caching\/","header_author_uri":"http:\/\/james.revillini.com\/services\/wordpress","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2460,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1127,144,356,10266,5128],"plugin_category":[52,59],"plugin_contributors":[82357],"plugin_business_model":[],"class_list":["post-22904","plugin","type-plugin","status-publish","hentry","plugin_tags-browser","plugin_tags-caching","plugin_tags-css","plugin_tags-sniffer","plugin_tags-user-agent","plugin_category-performance","plugin_category-utilities-and-tools","plugin_contributors-jrevillini","plugin_committers-jrevillini"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/awebsome-browser-selector-for-caching.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>Quick, Non-technical Overview<\/h4>\n\n<p>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!<\/p>\n\n<h4>Technical Details<\/h4>\n\n<p>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 <em>dynamically<\/em> on every page load and add them to the body class attribute using JavaScript and AJAX (leverages jQuery).<\/p>\n\n<h4>Please Note<\/h4>\n\n<p>This plugin <em>must<\/em> be installed in conjunction with ABS 2.2 or higher.<\/p>\n\n<p><a href=\"http:\/\/wp.me\/Pioil-Rs\">Awebsome! Broswer Selector for Caching Plugin Page<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from your wordpress plugin manager or upload the plugin ZIP file to the plugin manager.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Recommended: Clear your Wordpress cache; follow your caching plugin's documentation for instructions on how to do this.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I know it's working?<\/dt>\n<dd><p>Inspect the classes applied to the body tag and make sure you see 'awebsome-bs-for-caching' in there somewhere.<\/p>\n\n<p>There are several ways to do this:<\/p>\n\n<ul>\n<li>JavaScript URL bar method - while on your site, in the address bar, paste this code and hit return: <code>javascript:(function(){alert(document.getElementsByTagName('body')[0].getAttribute('class'))})();void(0);<\/code><\/li>\n<li>JavaScript Console method - paste this into the JS console and hit return: <code>(function(){alert(document.getElementsByTagName('body')[0].getAttribute('class'))})();<\/code><\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.0.2\n* BUGFIX http\/https select for ajax call for browser classes<\/p>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>removed a debugging function I accidentally left outside the class scope<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This is an add-on plugin which lets Awebsome! Broswer Selector work on sites that employ caching.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22904"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jrevillini"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22904"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22904"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22904"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22904"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22904"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}