This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Dev open slow:Can you quickly compute the hash while parsing the request to return 304 #11859
Closed
4 tasks done
Labels
Description
link to #1309
Evan says: we can dump the in memory transform cache to disk on server close, and "hydrate" the module graph on next server start
i just think: if we can quickly compute every request hash, and use disk cache to save the relation of etag and hash
{
'xx etag': 'xx hash'
}
while restart the server, if a req's hash and etag matched,maybe we can quickly return 304 ,to avoid some slow part of the module processing
similar to #10671
Suggested solution
...
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: