Make non-dynamic pages static
Nobody has claimed this yet.
- #447 by @nykula — closed without merging
- Dominant language
- PHP
- Stars
- 115
- Forks
- 60
- Avg merge
- 14h 5m
- Merged PRs (30d)
- 1
Description
In an effort to ease #417
For every "static" page on the site, the site needs to rebuild the entire template, which means re-evaluating all logic, data, and preprocessing done by PHP, _then_ serve the request back. This is understandably inefficient.
A few solutions to this are:
* to render these pages ahead-of-time and cache them with a very long life, or (even better),
* make static HTML files of these pages, and have the site serve them instead
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.
Research direction
Start by reading issue #417 and the closed pull request #447 to understand the existing direction. Trace how PHP currently rebuilds static pages, then define completion as serving pre-rendered or cached static HTML without re-evaluating the full template and preprocessing path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- performance, web-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100