-
Notifications
You must be signed in to change notification settings - Fork 1k
cache/stash long_descriptions rendered by readme_render #3739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @theacodes |
Research notes (for my own benefit/for the benefit of whoever takes this on):
For the benefit of accomplishing this task and testability, we should likely pull the rendering logic out of the context filter and into its own thing (not sure where they would live yet) and just have the filter be a thin wrapper. We could then use the common function from both the task and the templates. |
Might not even be necessary to keep it as a filter, it could be passed into the template from the view instead, which would make it a little easier to determine a cache key. |
That could definitely work. |
RE pypa/readme_renderer#95
A handful of long descriptions have long render times, such as https://gitlab.com/hansroh/skitai/blob/master/README.rst.
A proposed solution:
long_description
as usual at upload time.The text was updated successfully, but these errors were encountered: