<div dir="ltr"><div><div><div><div><div><div>Hi there,<br><br></div>I've been working on a web app that does a lot of REST requests<br></div>to RT. Recently, I've been assigned the task of adding rich text/html<br>
</div>capabilities to the web app ( textareas+ckeditor ).<br>I have completed the task but now the web app takes more time than it used to in order to display a ticket.<br></div><br></div>I found out that RT stores html content as an attachment so <br>
</div>now there's an additional web request per each ticket transaction<br>(1 web request per ticket transaction per attachment).<br><br clear="all"><div><div><div><div><div><div><div>If the attachment is 'text/html', I change the content of the ticket transaction.<br>
<br></div><div>I know the additional web requests is taking a toll on the response time.<br></div><div>I would like to know if my approach is the right one or if there are better<br>alternatives ....<br><br></div><div>I have been thinking that maybe a solution would be to use simultaneous http requests using '<span class="">curl_multi_init</span><span class="">(</span><span class="">)' </span>for the attachments.<br>
<br></div><div>Another idea is to show only a few transactions first and then using ajax I could retrieve more transactions when the user scrolls down to<br></div><div>the end of the list ...<br><br></div><div>Any help will be appreciated<br>
</div><div><br>-- <br>Hugo Escobar<br><br><br><img title="AFS_logo.png" alt="AFS_logo.png" src="cid:ii_12ddc99660bf2d8d" height="35" width="171"><br><br>Follow us on Facebook and Linked-In<br clear="all"><br><a href="http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864" target="_blank"><img title="facebook-24x24.png" alt="facebook-24x24.png" src="cid:ii_12ddc9e6256d137a"></a> <a href="http://www.linkedin.com/companies/1006276" target="_blank"><img title="linkedin-24x24.png" alt="linkedin-24x24.png" src="cid:ii_12ddc9cb29a3a5d5"></a><br>
</div></div></div></div></div></div></div></div>