<table><tr><td style="">leinir created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5638" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Use a single QNetworkAccessManager instance for all our HTTP jobs, and also add a simple diskcache to that qnam. Further ensure there is only a single qnam for the entire application using kns' http jobs, across all threads (lock when accessing the qnam). Without this, we are liable to end up creating and destroying a great many qnam instances, which certainly is something to try and avoid.</p>

<p>CCBUG: 379193</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Using Discover, which creates a great many of these jobs, we have much less network traffic this way.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R304 KNewStuff</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5638" rel="noreferrer">https://phabricator.kde.org/D5638</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/jobs/httpworker.cpp</div></div></div><br /><div><strong>To: </strong>leinir, whiting, apol<br /><strong>Cc: </strong>Frameworks<br /></div>