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.

Symptoms

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.

Changes

Using the setBrowserType endpoint the archive.org_bot was added to the list of supported browserTypes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms