Next.js · Senior · Question 47 of 75
How does htmlLimitedBots differ from regular bot handling?
- ✓Correct answer: It defines the bots that get metadata without streaming
- 2It forbids these bots from indexing the site via
robots - 3It serves bots a simplified page without styles or JS
Explanation
Some crawlers don't run JavaScript and can't see metadata that arrives via streaming. Next.js detects them by User-Agent and waits for the metadata before sending HTML. The option lets you override the list.