Feature Requests item #3528259, was opened at 2012-05-19 09:38 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: xqt (xqt) Summary: Do not use preloading in featured.py
Initial Comment: Using the 'pagegenerators', data transfer is not compressed. That data will be several megabytes. That transfer is very time consuming.
Therefore, I think a good idea to remove that line.
Thank you consider.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-05-20 07:20
Message: Maybe the header is wrong. I found 'Accept-encoding' as header parameter but at https://www.mediawiki.org/wiki/API:Client_Code header is described as 'Accept-Encoding' (capital Encoding)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2012-05-20 06:41
Message: I was confirmed by Wireshark. This is a packet analysis software.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-05-20 06:31
Message: I don't know whether they are compressed or not. How did you see it?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2012-05-20 05:15
Message: I understand. In the request header are described. However, the response data are not compressed.
May be a bug of MediaWiki.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-05-20 02:04
Message: This has nothing to do with preloading generator. http requests are done by Site.PostData() or Site.getUrl() with gzip compression enabled by default.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2012-05-19 10:19
Message: I also do not consume more time is good.
gzip compression will compress to about one-third of the text data. Therefore, transfer time will be one-third. Is roughly.
However, data transfer has not been compressed in the generator. This proposal is one way to solve this problem.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-05-19 09:48
Message: It is less time consuming than loading e.g. 60 times each page separately. What is the intention of this request?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259...
pywikipedia-bugs@lists.wikimedia.org