Prevent server setup code to run twice #1

Open
opened 2025-08-19 17:33:19 +00:00 by ayo · 0 comments
Owner

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.

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.
ayo added the
bug
label 2025-08-19 17:33:19 +00:00
ayo added reference main 2025-08-20 11:57:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ayo/cozy#1
No description provided.