View Source is Showing Incorrect HTML Format for Some User Agents
(Doc ID 2328179.1)
Last updated on NOVEMBER 14, 2017
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
When we spoof some user-agents (archive.org_bot in this case) and then 'view source' on our storefront, we are presented with boilerplate HTML while we were expecting to see pre-rendered HTML.
In this case on the test storefront the correct pre-rendered HTML was being displayed, however the production storefront was showing boilerplate HTML when sourced with the specified user-agent.
Using the setBrowserType endpoint the archive.org_bot was added to the list of supported browserTypes.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document