Univention Bugzilla – Bug 40136
index.json.gz is downloaded multiple times
Last modified: 2015-12-09 16:47:12 CET
Btw. can't we store the E-Tag and make conditional HTTP requests? +++ This bug was initially created as a clone of Bug #39693 +++ I've changed in one App Center session the autostart behavior for a Docker App: - Opening App details - changing autostart - apply - opening App details - changing autostart back - apply It looks like the index.json.gz was downloaded two times and a lot of Apps are loaded and unloaded. The logfile part is not from the whole session, only from the actions described above.
Fixed in univention-appcenter 5.0.19-18.77.201511302249 /var/cache/univention-appcenter/.etags added. Keeps track of other supra files and does not download it again in case of 304.
... [ DEBUG]: UCS Version is '4.1' ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"... ... [ DEBUG]: ... Not Modified ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"... ... [ DEBUG]: ... Not Modified ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"... ... [ DEBUG]: ... Not Modified ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"... ... [ DEBUG]: ... Not Modified modified index.json.gz in /var/cache/univention-appcenter/.etags ... [ DEBUG]: UCS Version is '4.1' ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"... ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"... ... [ DEBUG]: ... Not Modified ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"... ... [ DEBUG]: ... Not Modified ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"... ... [ DEBUG]: ... Not Modified removed /var/cache/univention-appcenter/.etags ... [ DEBUG]: UCS Version is '4.1' ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"... ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"... ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"... ... [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"... OK - YAML
<http://errata.software-univention.de/ucs/4.1/27.html>