Univention Bugzilla – Bug 39693
index.json.gz is downloaded multiple times
Last modified: 2019-01-03 07:23:09 CET
Created attachment 7240 [details] appcenter.log 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.
Btw. can't we store the E-Tag and make conditional HTTP requests?
(In reply to Florian Best from comment #1) > Btw. can't we store the E-Tag and make conditional HTTP requests? +1
curl -I -H 'If-None-Match: "93c18eb-5d8d-5253595118100"' https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz HTTP/1.1 304 Not Modified Date: Mon, 23 Nov 2015 16:06:21 GMT Server: Apache/2.2.22 (Debian) ETag: "93c18eb-5d8d-5253595118100"
(In reply to Florian Best from comment #1) > Btw. can't we store the E-Tag and make conditional HTTP requests? Bug#40136 because the two issues (Comment 1 and Comment 2) are very distinct. The initial bug report is harder to fix. After applying changes in the App Settings page, the container was stopped, or the settings were adjusted, the autostart changed... This effects the App.js object. Therefore the App Center is queried again (to get a fresh copy of that app from the server). This triggers the download of index.json. This is not very elegant. One could just query that very app (without hitting the App Center server). But one has to be careful updating the JS cache that filled the Gallery.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.