title: Send Long string to PHP via AJAX
body: <p>I am using <code>fabric.js</code>.I want to send the <code>canvas dataurl() string</code> to <code>PHP</code> via <code>AJAX</code>. Since I want to scale the canvas size, I am using <code>multiplier</code> property provided by the <code>Fabric.js</code> library</p>
  
  <p>When I use the below code</p>
  
  <pre><code>var imgData       = _canvasObject.toDataURL({format: 'png'});
  </code></pre>
  
  <p>The ajax request is fast</p>
  
  <p>But when I sclae the canvas using the <code>multiplier</code> property it takes aroun 2 minutes for the <code>ajax</code> request to be sent.</p>
  
  <pre><code>var imgData = _canvasObject.toDataURL({format:'png',multiplier: 3});//Takes 2 mins for AJAX request to be sent
  </code></pre>
  
  <p>What can be done? </p>