Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.3-rc-1
-
Unknown
-
Description
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
Expected
Actual
http://localhost:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/17.2.0-SNAPSHOT/tree.min.css?evaluate=true is not cached
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 compute font-awesome icons
- use of $xwiki.getSkinFile to get the spinner