Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cache:lscwp:simucrawler [2018/09/06 19:42] Eric Leu [Add User ID to Role Similation] |
litespeed_wiki:cache:lscwp:simucrawler [2018/09/06 19:51] Eric Leu [LiteSpeed Cache for WordPress: Simulate Crawler] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LiteSpeed Cache for WordPress: Simulate Crawler ====== | ====== LiteSpeed Cache for WordPress: Simulate Crawler ====== | ||
- | LSCache use [[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:crawler | Guest view by default crawler]]. The Simulate crawler travels through your site by different user view. This helps for different permission of users visit cached pages. | + | LSCache use [[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:crawler | Guest view by default crawler]] which means for non logged in user. The Simulate crawler travels through your site by different logged-in user view. This helps for different permission of users visit cached pages. |
=====How to setup ===== | =====How to setup ===== | ||
===== Get User ID===== | ===== Get User ID===== | ||
- | You can click edit in user in Wordpress - > users -> Username. You will see the URL contains "user_id=XXX" this number is the users ID. \\ | + | You can click edit in user in **Wordpress - > users -> Username**. You will see the URL contains "user_id=XXX" this number is the users ID. \\ |
{{:litespeed_wiki:cache:lscwp:simu-1.png?400|}} \\ | {{:litespeed_wiki:cache:lscwp:simu-1.png?400|}} \\ | ||
For more User ID get methods, please see [[https://rudrastyh.com/wordpress/get-user-id.html | 7 methods to get User ID]] | For more User ID get methods, please see [[https://rudrastyh.com/wordpress/get-user-id.html | 7 methods to get User ID]] | ||
===== Add User ID to Role Similation===== | ===== Add User ID to Role Similation===== | ||
- | Assume we get a User ID is "3". Then we set ''3'' in the **LSCache -> Settings -> Crawler -> Role Simulation** | + | Assume we get a User ID is **3**. Then we set ''3'' in the **LSCache -> Settings -> Crawler -> Role Simulation** |
{{:litespeed_wiki:cache:lscwp:simu-5.png?700|}} | {{:litespeed_wiki:cache:lscwp:simu-5.png?700|}} | ||
===== Getting Ready to Run===== | ===== Getting Ready to Run===== | ||
- | Follow crawler [[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:crawler#getting_ready_to_run | Start run]] to start | + | Follow [[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:crawler#getting_ready_to_run | crawler wiki to start run]] to generate crawler file and start run. |
- | In this page, you will also see there's Guest and Editor items to crawl | + | In this page, you will also see there're Guest and Editor, two items to crawl |
{{:litespeed_wiki:cache:lscwp:simu-4.png?700|}} | {{:litespeed_wiki:cache:lscwp:simu-4.png?700|}} |