Ask HN: Best Way to implement Responsive Design
I'm looking for advice/input/critique from anyone on my following implentation for a fairly high trafficed site (50k + monthly), that's going responsive (ie. mobile design (images/videos/css) for Phones and Tablets )
Here's my current Responsive Design Implementation:
1. On a the HTTP request I get the device ( Tablet, Phone, or Desktop ). 2. Based on the device type I make general assumptions about a relative screen size. ( for instance, 320x480 for Phone) and send the HTTP response with a basic template for videos,images,css,js, etc. 3. Now inside my css using media queries I handle for divergences on screen size. 4. Also currently I have no really good way to optimize images - I'm especially interested in any ideas/links/articles related to this for responsive design.
Thanks!