Prevent server setup code to run twice #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ayo/cozy#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I noticed, after implementing the cache for fetched articles, that the server setup code (i.e., fetching the article and rendering the page) is ran twice. This is improved by the cache, because the second run will use the cached content, but is still wasteful.