I want to cache desktop and non-desktop user agents separately.
As a back-end I use nuxt with this device-module.
Device module here has the next code: