I have the following scenario: I work with CakePHP and Twitter Bootstrap. I'm using a lot of responsiveness and writing lots of HTML that change for each screen size. I was thinking about detecting the screen size and saving it on the server side, so I can write only the HTML that will really be useful on that page. Since the user rarely changes the window size, won't hurt to hit F5.
Is it a good practice? What do you suggest?