Skip to content

Use of ContextEngine is hardcoded into DXA #111

@willprice76

Description

@willprice76

The ContextEngine is used to determine device characteristics such as screen width and device family. This is then used in the DefaultMediaHelper and ContextualDeviceUrlBasedViewResolver to implement serverside responsive (RESS) rendering.

Some rough tests I have done for a page (without any caching) give a processing time of 2.2 seconds with the ContextEngine and 1.2 seconds without. Many implementations implement responsive design client side, and would thus prefer not to have this unneccesary overhead on every request.

It would be thus good to have a feature toggle to set use of the ContextEngine on/off.

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