为WPtouch设置cache插件
今天又把WP super cache撞上了,并且处理了七牛,以后就是以前的样子。安装完WP super cache后,醒目的蚊子提示WPtouch需要配置,WP super cache这点做的不太好,现在WP有这么多的用户,他的说明文字还是有大量的英文,估计是觉得中国人不会在一个免费的平台上买收费的插件。
原文是这样的:
Caching software is used to improve the performance of your website. Unless the caching software has been specifically developed for use with mobile devices, it may override WPtouch Pro and give the appearance that your mobile theme is not functioning. You may see:
- Cached posts and pages using your desktop theme on mobile devices, and/or
- Cached posts and pages using your mobile theme on desktop devices.
- Inconsistency of theme when your site is refreshed.
Fortunately, most caching plugins and services may be optimized for mobile use by disabling caching when mobile devices are detected.BraveNewCode’s Infinity Cache extension may be used in conjunction with other caching plugins or may be used as a replacement for traditional caching plugins. When using a separate caching plugin, disable the setting to “Create cache for desktop users” in Infinity Cache. Be sure to follow these setup guidelines for best performance of your caching plugin.
WP Super Cache
The native support for the free version of WPtouch found in WP Super Cache (under the “Plugins” tab) must be disabled to prevent conflicts in WPtouch Pro.
- In the Advanced tab of the WP Super Cache settings select “Mobile Device Support”* and click “Update Status”.
- Still in the Advanced tab, scroll down to the “Rejected User Agents” area. Paste the entire list of mobile user agents found below and click “Save UA Strings”.
- If you have added support for additional mobile devices in WPtouch Pro’s Compatibility > Custom User Agents field, you must also include those user agents in the “Rejected User Agents” area in WP Super Cache.
- In the “Contents” tab, click “Delete Expired” and “Delete Cached” to delete pages that were likely cached before adding the new list of rejected user agents.
- Ensure that WP Super Cache is selected in the plugins list in the Core Settings > Compatibility > WordPress Plugins section of the WPtouch Pro admin panel. (Pro only, enabled by default in WPtouch (free))
原创文章,转载请注明: 转载自九十九度
本文链接地址: 为WPtouch设置cache插件