이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Awebsome Browser Selector for CACHING

설명

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

설치

  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.

FAQ

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'))})();

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Awebsome Browser Selector for CACHING”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Awebsome Browser Selector for CACHING”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

= 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