Skip to content

feat(readme-backend): added config to set the cache ttl#307

Merged
anicke merged 1 commit into
mainfrom
readmeTtl
Aug 7, 2025
Merged

feat(readme-backend): added config to set the cache ttl#307
anicke merged 1 commit into
mainfrom
readmeTtl

Conversation

@anicke
Copy link
Copy Markdown
Contributor

@anicke anicke commented Aug 6, 2025

Hey, I just made a Pull Request!

In the "readme-backend" plugin no ttl where configured, this PR sets a default 1 hour ttl and makes it possible to override this using the config.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have verified that the code builds perfectly fine on my local system
  • I have verified that my code follows the style already available in the repository
  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@anicke anicke requested a review from a team as a code owner August 6, 2025 13:04
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 6, 2025

🦋 Changeset detected

Latest commit: d7bf11b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@axis-backstage/plugin-readme-backend Patch
backend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Contributor

@fridajac fridajac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@anicke anicke merged commit 733b2db into main Aug 7, 2025
6 checks passed
@anicke anicke deleted the readmeTtl branch August 7, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readme backend cache is not configurable and therefore caches indefinitely

2 participants