Advanced Device Type Management
  • 22 Jun 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Advanced Device Type Management

  • Dark
    Light
  • PDF

Article summary

You can force Prerender to render pages with a specific device type, which will override the automatic device detection system.


To do this, add the X-Prerender-Device-Type header with either the Mobile or Desktop value when sending the request tohttps://service.prerender.io.

This will only work if your account has the Mobile Optimized Rendering setting enabled in your Dashboard.

 
Engineer's note
The detection is not case-sensitive.

Was this article helpful?