0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
jadesola kareem
9338ccf974 Updated the performance.md database section
Provided more nuance about the recommended database
Closes #10949
2023-11-30 07:44:56 +10:00
Jake Howard
69724e4e3a Create preview-aware & page-enhanced cache template tags
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.

- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key

Co-authored-by: Andy Babic <andyjbabic@gmail.com>

Closes #5074
2023-07-20 08:24:09 +10:00
zerolab
6345c8c4c1
Release notes for #10612 2023-07-12 16:59:53 +01:00
Jake Howard
27a203f697
Always cache renditions
This should provide a big performance boost to those who don't set the cache, with minimal extra overhead.
2023-07-12 16:35:06 +01:00
Jake Howard
ef27a27c1a Docs - Add more details to the performance page & update getting started link
- Link getting started section to elasticsearch backend, not performance page as this is more relevant.
- Mention frontend caching on performance page
- Mention prefetching image renditions on performance page
2023-07-03 08:33:23 +10:00
LB Johnston
d5bd828b8e Docs - update Django urls to shorthand method 2023-06-01 16:50:03 +01:00
Satvik Vashisht
4ee60b5d47 Adopt the pageurl template tag over page.url where possible
- Fixes #10125
- So that determining page URL is more performant - see https://docs.wagtail.org/en/stable/advanced_topics/performance.html#page-urls
2023-03-18 07:35:27 +10:00
LB Johnston
edb86a7e8f Documentation - Fix missing links / images
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Jake Howard
0f209ee848 Add {% fullpageurl %} for resolving absolute URLs to pages 2023-01-04 16:13:56 +00:00
Jake Howard
66421dac13
Performance page cleanup (#9362)
* Clean up the performance page structure

Many of the sections mentioned here will improve performance for much more than just the editor experience.

* Link to Django's performance page
2022-10-28 10:33:00 -04:00
Jake Howard
c6afb0069d Performance docs - Mention the importance of passing request and current_site to get_url
- Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
2022-10-28 06:24:38 +10:00
Jake Howard
55f42d29c8 Mention using the image_url tag for increased performance on image URLs 2022-10-18 08:16:02 +10:00
Jake Howard
5108b5f82a Add ability to set default configurable attributes to image tags
- Allow users to override the default attributes given to an image
- Update tests to account for new tags
- Add documentation for custom image attributes
- Recommend that loading=lazy & decoding=async be considered for performance in front-end sites
2022-08-25 18:20:45 +10:00
Thiago Costa de Souza
f42ec9ed6b convert documentation in advanced_topics from rst to md
- relates to #8383
2022-06-09 20:32:56 +10:00