Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

HTTP cache purge failures: logged after writes, loud from the purge command and endpoints

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
api, backend, devops

Research direction

The issue references a source PR (#314) in another repository (components-web-app/api-components-bundle). Start by examining that PR to understand the changes to logging, the purge command (silverback:api-components:purge-rendered-html), and the HTTP endpoints (POST /_/rendered_html/purge, POST /_/http_cache/purge). Look for error handling and HTTP status code updates. 'Done' means the purge failures are logged appropriately, the command exits with code 1 on failure, and the endpoints return a 502 status.

Written by the indexing model from the issue text.

Description

documentation

Source: components-web-app/api-components-bundle#311 (PR #314)

  • A cache purge that fails after a write is logged at error level (with its tags). The write still returns its normal response and Mercure still publishes. Stale content may stay cached until fixed, so alert on that log.
  • silverback:api-components:purge-rendered-html prints the reason and exits 1 when the purge fails, so a deploy script can rely on it.
  • POST /_/rendered_html/purge and POST /_/http_cache/purge return 502 when the cache fails or can't be reached.
Dominant language
Vue
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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.

More from components-web-app/docs

All issues in components-web-app/docs

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.