Reset `lighthouse:query` cache in `lighthouse:clear-cache` command

Open
#2,045 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
laravel, php
Domain
backend, cli

Research direction

Read issues #2017, #2018, and #2031 first, then inspect the lighthouse:query and lighthouse:clear-cache command entry points. Run the clear-cache command and verify that query-cache data is also removed, including the unserialization-failure case described here.

Written by the indexing model from the issue text.

Description

enhancement

Seems there is no way to reset lighthouse:query cache (related to #2017, #2018, #2031) that may be useful (eg if cached value unserialization will fail). Looks like lighthouse:clear-cache is a good place for this?

Dominant language
PHP
Stars
3.5k
Forks
468
Avg merge
3h 9m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

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.

More from nuwave/lighthouse

All issues in nuwave/lighthouse

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.