Skip to content

Cloudfront detection shouldn't rely on user-agent #141

Description

@hecktarzuli

It looks like the code only detects Cloudfront if the user-agent is Amazon Cloudfront. It should instead just detect the 2-3 device headers it uses and just use them if they exist.

We've been using Cloudfront device detection for a while, and our user-agents are whatever the user's browser is, not the value above. The change requested would accommodate a larger audience and configuration setups.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions