Check List
Feature Request
|
return Buffer.from(data); // Assume string is UTF-8 encoded string |
When the generated web page has a large size, this becomes a performance bottleneck.
I don't quite understand why we need to convert the string to a buffer and then write it back to the file. Is it possible to skip the process of converting to a buffer?
Check List
Feature Request
hexo/lib/hexo/router.ts
Line 33 in c69553c
When the generated web page has a large size, this becomes a performance bottleneck.
I don't quite understand why we need to convert the string to a buffer and then write it back to the file. Is it possible to skip the process of converting to a buffer?