OO-4418: cache the image in the editor to prevent flickering
Allow the browser to cache the images in the page editor (new images will get new mappers and therefore update is not an issue), don't create new image component by settings changes but update them to allow again the browser to use the cached images.
Showing
- src/main/java/org/olat/core/gui/components/image/ImageComponent.java 12 additions, 1 deletion...va/org/olat/core/gui/components/image/ImageComponent.java
- src/main/java/org/olat/core/gui/components/image/ImageRenderer.java 9 additions, 7 deletions...ava/org/olat/core/gui/components/image/ImageRenderer.java
- src/main/java/org/olat/modules/ceditor/ui/ImageEditorController.java 6 additions, 4 deletions...va/org/olat/modules/ceditor/ui/ImageEditorController.java
- src/main/java/org/olat/modules/ceditor/ui/ImageRunController.java 54 additions, 46 deletions.../java/org/olat/modules/ceditor/ui/ImageRunController.java
Loading
Please register or sign in to comment