title: Javascript redirect impact on SEO
body: <p>Not sure if this is the best place for this question but it's something I've been really curious about. I'd like to use data only available on the client side for loading resources/assets for a website, such as device-pixel-ratio, touch support, etc.</p>
  
  <p>The content on the page will not be changing, just resources like JS files, CSS files, and image files.</p>
  
  <p>There are a few scripts already out there that work like this that run client-side tests and then store the data in a cookie, and then reload the page, loading resources based on data stored in the cookie. </p>
  
  <p>The process works as follows: </p>
  
  <ul>
  <li>User comes to the site</li>
  <li>JS sets cookie with device features</li>
  <li><strong>JS reloads current page</strong></li>
  <li>Server can now access the cookie with all the feature data</li>
  <li>Can conditionally load resources and assets based on this data</li>
  </ul>
  
  <p>Is this a bad practice to immediately reload the page as the user comes to it. Are there any SEO drawbacks to this method. It seems like a great technique for conditionally loading resources based on device capabilities. I'm just not sure if there are any reasons not to do this?</p>