Repository navigation
adding cache control headers for css and js - fixes #11496 - #11556
Conversation
|
The inspection completed: No new issues |
|
@butonic We cannot do this here to my understanding because those files are static and therefore not served via PHP. |
|
🤦 just ignore the noise ... still the default of nocache confuses IE and makes the gallery behave weird. just set it to |
|
LGTM 👍 |
|
👍 |
adding cache control headers for css and js - fixes #11496
|
💣 Test FAILed. 💣 |
|
@owncloud-bot Rtest this please. |
|
@owncloud-bot retest this please. |
|
@DeepDiver1975 What about a backport? |
|
Please not. This has the chance to break external third-party apps. Ok for master for me because we can fix the link generation there, but we shouldn't break stable7. |
|
Okay. |
|
any reason this is 2 hours instead of longer? Just wondering. |
|
I´m not sure I completely understand this. Currently the css and js files are linked including a ?hash which should have the effect that the browser doesn´t cache it. Which is a feature not a bug because the browser has to load a new version once a new instance, core version or version on any app changed. |
|
@karlitschek This instructs the browser and intermediate proxies (i.e. load balancers) to cache the resource. - This is handy because not every webserver is configured properly out there. If the hash changes then the caching will be invalidated. However, since we do currently not include the app version within the hash we cannot easily backport this in case somebody uses a third-party app. However, this is something that we can easily fix in the future. |
|
#11374 - according issue. |
|
@LukasReschke Thanks. We should add the app version indeed. Otherwise we definitely trigger bugs. |
@LukasReschke @karlitschek @bantu @butonic THX