Rejected User Agents
Strings in the HTTP ’User Agent’ header that prevent WP-Cache from caching bot, spiders, and crawlers’ requests. Note that super cached files are still sent to these agents if they already exists.
คืออะไรครับทำมัยต้องลบด้วยครับ
หากใส่ User Agent อะไรไว้ เจ้า User Agent นั้น ๆ เช่น Bot จะได้รับข้อมูลฉบับสดใหม่ ไม่ใช่ฉบับ cache ครับ
หากไม่อยากลบก็ไม่น่าเป็นอะไรครับ
ขอบคุณครับ
แต่ผมเข้าใจสลับกับท่าน ดังนี้
หากใส่ User Agent อะไรไว้ เจ้า User Agent นั้น ๆ เช่น Bot จะได้รับข้อมูลที่เป็น cache
ทำให้บางครั้งที่เราแก้ไขข้อมูลและ bot เข้ามาเก็บข้อมูลก็จะได้ cache ซึ่งเป็นข้อมูลเก่าไป มันจะไม่อัพเดตทันที
ตรงนี้ก็เลยแนะนำให้เอาออกเพื่อให้ทุกครั้งที่ bot เข้ามาก็จะได้รับข้อมูลใหม่สดเสมอ
หากผมเข้าใจผิดก็ต้องขออภัยไว้ ณ ที่นี้ด้วย ผมเสนอความคิดเห็นไปตามที่เข้าใจครับ
อ้างอิงจาก Changelog ของ WP Super Cache ในเวอร์ชั่น 0.9.5 ได้มีการเพิ่มฟังก์ชั่น Rejected User Agents เข้ามา เขาเขียนไว้ว่า
http://wordpress.org/extend/plugins/wp-super-cache/changelog/
Don't serve wp_cache cache files to rejected user agents. Supercache files are still served to them.
ซึ่งแปลได้ความว่า จะไม่ส่งข้อมูลแคชไฟล์ให้กับรายการใน rejected user agents แต่ไฟล์ cache ในแบบ Supercache จะยังคงส่งไปให้ User Agent เหล่านี้อยู่
อ้างอิงจากบทความของ HostGator
http://support.hostgator.com/articles/specialized-help/technical/wordpress/wp-super-cache-plugin
It is recommended that you do not remove the default user agents from the list, to prevent bots from caching content and pages not normally seen by your visitors. (For example, if you have a calendar, a real visitor may only browse months close to now, but a bot will index every month forever as if it is a different page. Caching these pages real visitors are unlikely to visit wastes resources.)
ซึ่งแปลได้ความว่า ไม่แนะนำให้ลบ UA ในรายการทิ้ง เพื่อป้องกันบอทจากการเข้าไปยังคอนเทนท์และเพจที่ถูก cache