Sub-directory deployments need framework.router.default_uri for CLI cache purges
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- documentation
Research direction
Look at the deployment and HTTP cache documentation sections. Find where cache purging and router configuration are discussed. Add a note explaining that for sub-directory deployments, the framework.router.default_uri setting must be configured to ensure CLI cache purges work correctly. Verify the change by checking the docs build.
Written by the indexing model from the issue text.
Description
Source: components-web-app/api-components-bundle#313 (PR #317)
Cache tags are IRIs generated by the router. With the template's /_api route import prefix they are identical over HTTP and from the CLI (fixtures, console commands, messenger workers), e.g. a Route write purges /_api/_/routes and /_api/_/routes//my-route.
An application served under a request base path (mounted in a sub-directory) must set framework.router.default_uri, otherwise writes made from the CLI purge unprefixed tags and miss the cache. Worth a note in the deployment / HTTP cache docs.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from components-web-app/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
components-web-app/docs#88 ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 55/100
components-web-app/docs#90 ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 70/100
components-web-app/docs#89 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
components-web-app/docs#1 · 2 comments ·
All issues in components-web-app/docs
Similar issues
-
Crush Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
catppuccin/catppuccin#3125 ·
-
Link Checker Report Openautomated issue report
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
VoltAgent/awesome-design-md#469 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
KhronosGroup/glTF#2648 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
sccn/sccn.github.io#108 ·