#2053: Use client-side caching for webui
-----------------------------+----------------------------------------------
Reporter: lildadou | Owner: damoxc
Type: feature-request | Status: new
Priority: minor | Milestone: Future
Component: webui | Version: 1.3.4
Keywords: optimization |
-----------------------------+----------------------------------------------
I find that the web page of deluge-web is very long to load.
The main reason is that the JavaScript files are downloaded each page
opening. As I use nginx in front, I added a rule that queries on static
files (ico, css, js, gif, jpg, png) was treated with an additional header
who caching response on the client side (Cache-Control).
* Context : min/max (size)
* With forced cache rule : 1,97s/2,11s (3,89KB transferred)
* Without forced cache rule : 13,69s/13,72s (850,99KB transferred)
* First load (no client-side caching) : 14,72s/15,20s (859,72KB
transferred)
[http://git.deluge-
torrent.org/deluge/tree/deluge/ui/web/js?id=deluge-1.3.4 Biggest files of
web-ui]
HTTP response example:
{{{
GET /js/ext-all-debug.js HTTP1.0
HTTP1.0 200 OK
Date: Tue, 13 Mar 2012 14:35:15 GMT
Content-Length: 642823
Content-Encoding: gzip
Content-Type: application/javascript
Server: TwistedWeb/11.0.0
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2053>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.