coderedcorp / coderedcorp/wagtail-seo
Cache property
Open
- Dominant language
- Python
- Stars
- 93
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
I propose to use `cached_property` on all, if not most of seo properties.
Some properties are accessed several times in the template, and so provoke unnecessary duplicate db queries.
Contributor guide
Research direction
The issue does not name files or tests. Locate the SEO property definitions and the templates that access them, then identify repeated database queries and determine which properties can be cached; done means repeated template access avoids duplicate queries without changing SEO output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, performance
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100