Add Caching Headers
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the File and Directory Resolvers and how UPWARD PHP currently sets response headers. Determine the caching policy, including lifetimes, ETags, and when headers apply, then define options for disabling or clearing them in development versus production. Done means requests receive the appropriate cache headers under the selected policy.
Written by the indexing model from the issue text.
Description
All requests going through UPWARD PHP, including those for static files, include Cache-Control: no-store, no-cache, must-revalidate. There needs to be some better handling of response caching, especially for File & Directory Resolvers
- Determine what the appropriate caching policy should be
- What should the cache lifetime be?
- Should we include an ETag, or are those passé?
- In what cases should a cache header be included or not?
- Add the appropriate cache headers
- What options should there be for disabling or clearing these headers (eg for development vs production)?
- Dominant language
- PHP
- Stars
- 14
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 magento/upward-php
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
magento/upward-php#91 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
magento/upward-php#90 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
magento/upward-php#88 · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
magento/upward-php#85 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
magento/upward-php#29 ·
All issues in magento/upward-php
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
0. Needs triage 36-feedback bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
area:ci priority:low type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
crazy-goat/php-fpm-ng#1021 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ProfessionalWiki/NeoWiki#1755 ·
Maintainers usually reply within 1 day