pawamoy / pawamoy/markdown-exec
Cache
Open
@pawamoy is already working on this.
Since Jun 13, 2024.
feature
insiders
- Dominant language
- Python
- Stars
- 174
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Generating text/images/svg can slow down rendering a lot.
Describe the solution you'd like
Allow to cache things either during serve (memory), or across multiple builds (filesystem).
A cache option could be added. If boolean value, use hash of the code block's contents as ID.
Otherwise use cache option value as ID. Only useful for cross-builds cache.
Items can then be deleted from the cache by deleting the files in /tmp with the ID as name.
Contributor guide
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.
Assessment
This issue has not been assessed yet.