title: JSON web token size
body: <p>I'm currently using the node-jsonwebtoken (<a href="https://github.com/auth0/node-jsonwebtoken" rel="nofollow">https://github.com/auth0/node-jsonwebtoken</a>) library to generate an auth token. I simply call jwt.sign to generate the token.</p>
  
  <p>On my staging and development servers, the token that is generated is 941 characters, but on my production server (with 8x the number of CPUs and larger RAM but no other differences), it is much much larger (>8KB). Does anyone know why this is -- best guess for me right now is that it's generated based on my RAM or multiple CPUs, but that's just a correlation. </p>
  
  <p>What should I do to lower the size of the token? On my client, I'm not allowed to send requests with  headers that exceeds 8KB.</p>
  
  <p>Thanks</p>