Browse Source

Release notes for #10612

zerolab 1 year ago
parent
commit
6345c8c4c1
3 changed files with 11 additions and 0 deletions
  1. 1 0
      CHANGELOG.txt
  2. 2 0
      docs/advanced_topics/performance.md
  3. 8 0
      docs/releases/5.1.md

+ 1 - 0
CHANGELOG.txt

@@ -20,6 +20,7 @@ Changelog
  * Add the ability to export snippets listing via `SnippetViewSet.list_export` (Sage Abdullah)
  * Add support for adding HTML `attrs` on `FieldPanel`, `FieldRowPanel`, `MultiFieldPanel`, and others (Aman Pandey, Antoni Martyniuk, LB (Ben) Johnston)
  * Add support for `--template` option to `wagtail start` (Thibaud Colas)
+ * Change to always cache renditions (Jake Howard)
  * Fix: Prevent choosers from failing when initial value is an unrecognised ID, e.g. when moving a page from a location where `parent_page_types` would disallow it (Dan Braghis)
  * Fix: Move comment notifications toggle to the comments side panel (Sage Abdullah)
  * Fix: Remove comment button on InlinePanel fields (Sage Abdullah)

+ 2 - 0
docs/advanced_topics/performance.md

@@ -24,6 +24,8 @@ CACHES = {
 }
 ```
 
+(custom_image_renditions_cache)=
+
 To use a different cache backend for [caching image renditions](caching_image_renditions), configure the "renditions" backend:
 
 ```python

+ 8 - 0
docs/releases/5.1.md

@@ -47,6 +47,7 @@ The `wagtail start` command now supports an optional `--template` argument that
  * Add support for more [advanced Draftail customisation APIs](extending_the_draftail_editor_advanced) (Thibaud Colas)
  * Add the ability to export snippets listing via `SnippetViewSet.list_export` (Sage Abdullah)
  * Add support for adding [HTML `attrs`](panels_attrs) on `FieldPanel`, `FieldRowPanel`, `MultiFieldPanel`, and others (Aman Pandey, Antoni Martyniuk, LB (Ben) Johnston)
+ * Change to always cache renditions (Jake Howard)
 
 ### Bug fixes
 
@@ -274,3 +275,10 @@ The global util will be removed in a future release. It is recommended that the
 ```
 
 Note: The `data-w-tag-options-value` is a JSON object serialised into string. Django's HTML escaping will handle it automatically when you use the `AdminTagWidget`, but if you are manually writing the attributes, be sure to use quotation marks correctly.
+
+
+### Image Renditions are now cached by default
+
+Wagtail will try to use the cache called "renditions". If no such cache exists, it will fall back to using the default cache.
+You can [configure the "renditions" cache](custom_image_renditions_cache) to use a different cache backend or to provide 
+additional configuration parameters.