coderedcorp / coderedcorp/wagtail-seo

Cache property

Open
#69 2 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.