There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-fffbc268-3ac2-45ac-ad71-2f83421c3de6 XWIKI-22935 Open

tree.less is not cached

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-7b9c3294-f215-4039-92fa-a3d927ffde16 Changes by Manuel Leduc on 27/Feb/25 13:29
 
Description: h2. Reproduction steps
# visit [http://localhost:8080/xwiki/bin/view/Sandbox/]
# open the browser debugger and make sure that "disable cache" is unchecked
# click on the "Sandbox Test Page 1" link to go to [http://localhost:8080/xwiki/bin/view/Sandbox/]
# observe the network tab

h2. Expected

[http://localhost:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/17.2.0-SNAPSHOT/tree.min.css?evaluate=true] is cached
h2. Actual

[http://localhost:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/17.2.0-SNAPSHOT/tree.min.css?evaluate=true] is not cached
h2. Analysis

The stylesheet needs to be recomputed for each page because:
# it relies on less variables for color theme
# is relied on webjar script services to
computed compute font-awesome icons
# use of $xwiki.getSkinFile to get the spinner