# WP Rocket | Set Tablets As Mobile

WP Rocket by default considers tablets as desktop. This helper plugin will set tablets as mobile devices. Useful if your theme uses `wp_is_mobile` function.

Documentation:
* [Wrong Display for Mobile, Tablet or Desktop](https://docs.wp-rocket.me/article/140-wrong-display-mobile-tablet-desktop)

To be used with:
* Setup where `Enable caching for mobile devices` and `Separate cache files for mobile devices` are both enabled.
* A theme or plugin that uses `wp_is_mobile` function. `wp_is_mobile` treats tablets as mobile devices. 
* Uses WP Rocket 3.2 or later.

Last tested with:
* WP Rocket 3.2.x
* WordPress 4.9.x
