You don't seem to understand the word "insult."
No, it doesn't work perfectly, because you don't have enough knowledge for it to work correctly. As long as you use cookies to define the required cache vary, a device type can be faked. In addition, these device cookies are not automatically...