Skip to content

docs(guide): add doc for custom cache policy#252

Merged
xrgzs merged 4 commits intoOpenListTeam:mainfrom
varg1714:feat/varg-1206-cache-policy
Dec 8, 2025
Merged

docs(guide): add doc for custom cache policy#252
xrgzs merged 4 commits intoOpenListTeam:mainfrom
varg1714:feat/varg-1206-cache-policy

Conversation

@varg1714
Copy link
Copy Markdown
Contributor

@varg1714 varg1714 commented Dec 6, 2025

Description / 描述

add doc for custom cache policy

Motivation and Context / 背景

Relates to #OpenListTeam/OpenList#1533

Checklist / 检查清单

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive documentation for the custom cache policies feature, which allows users to define different cache durations for specific directory paths using wildcard pattern matching. The documentation is provided in both English and Chinese, following the project's bilingual documentation standards. Additionally, the PR corrects the heading level for the "Cache Expiration" section from ### to ## to maintain proper document hierarchy.

Key Changes:

  • Added new "Custom Cache Policies" section explaining pattern-based cache configuration
  • Corrected "Cache Expiration" heading level from h3 to h2 for structural consistency
  • Provided clear examples demonstrating single-level (*) and multi-level (**) wildcard usage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
xrgzs
xrgzs previously approved these changes Dec 6, 2025
Copy link
Copy Markdown
Member

@xrgzs xrgzs left a comment

Choose a reason for hiding this comment

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

LGTM

@xrgzs xrgzs requested a review from dezhishen December 6, 2025 15:51
@varg1714
Copy link
Copy Markdown
Contributor Author

varg1714 commented Dec 6, 2025

LGTM

稍等深夜了迷糊了,写的有点问题我再提一版

@xrgzs xrgzs merged commit ae2147b into OpenListTeam:main Dec 8, 2025
@varg1714 varg1714 deleted the feat/varg-1206-cache-policy branch December 8, 2025 08:10
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.

3 participants