The Caching Code Macro extension 1.1 has been released.
This release brings the following changes:
- Fixes wrong or outdated code being displayed when the content of the code macro, or the content before it, is dynamic (e.g. generated by a script): a cache entry now depends on the code to highlight and the macro parameters, no longer on the position of the macro in the page, so identical code macros share one cache entry, even on different pages.
- Fixes relative links and images in the title and image parameters pointing to Main.WebHome when the code macro is rendered asynchronously: they now point to the page holding the macro.
- Fixes links to missing pages in the title parameter having Main.WebHome as parent when the code macro is rendered asynchronously.
- Raises the minimal supported XWiki version to 15.10.
See the documentation for how the cache and the asynchronous rendering work.