ProfessionalWiki / ProfessionalWiki/PersistentPageIdentifiers

Peformance optimization: only clear parser cache when page contains parser function

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
PHP
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

We clear the parser cache upon page creation, so our parser function can immediately access the newly generated and saved persistent ID, since that ID is not yet saved on the first parse. Ideally we only do this on pages where the parser function is present.

This is a follow up to

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the issue and the referenced pull request #46 to understand why the parser cache is currently cleared during page creation. Trace the page-creation and parser-function paths in the extension, then verify that cache clearing occurs only for pages containing the parser function while preserving access to the newly saved persistent ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.