Open infinitnet opened 3 years ago
I reported this bug including a fix in October 2020, but unfortunately the Oxygen team hasn't been able to take a few minutes to apply the fix to any of their updates so far.
I couldn't find a bug report from you previously regarding this issue. Could you please provide replication steps here so that we can be sure to take a look?
Please also clarify whether this bug occurs for you when Oxygen's CSS Cache is enabled or not.
@Spellhammer I've reported this by email (subject "Query strings being appended to CSS files (Reason: Something's broken and I need help)") on 2020-08-21 and after some back and forth the conclusion was that "there is no easy fix". I then hired @Lupul who came up with the fix above which is indeed quite easy. If you can look up that email thread, you can find everything you need in that lengthy conversation. It was forwarded to the dev team as well apparently and I also got a confirmation that it was added to the internal bug tracking. The last update I received on October 7th 2020 was "Our developer has let me know that the fix suggested by your developer makes sense and he has updated our internal bug report with the information from your ticket." and then it was never applied to your code base and I did follow up twice.
This bug exists in all Oxygen Builder versions. In some cases (potentially when Oxygen pages were converted to Gutenberg), this is being added to the source code:
This doesn't only negatively impact performance, but since these links are also crawlable by Googlebot and other search engine spiders, this also negatively impacts SEO.
I reported this bug including a fix in October 2020, but unfortunately the Oxygen team hasn't been able to take a few minutes to apply the fix to any of their updates so far.
With page performance officially becoming a critical ranking factor in May 2021 (https://developers.google.com/search/blog/2020/11/timing-for-page-experience), this is a reason to be concerned for Oxygen users affected by this issue.
My current fix (thanks to @Lupul) is to add this function:
and change
array_filter
toarray_filter_rec
in/oxygen/component-framework/includes/cache.php
line 324.