添加 generateETag 和 isNotModified 函数,在所有响应路径设置 ETag/Last-Modified 头,支持 If-None-Match 和 If-Modified-Since 条件请求返回 304,减少不必要的文件传输。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
添加 generateETag 和 isNotModified 函数,在所有响应路径设置 ETag/Last-Modified 头,支持 If-None-Match 和 If-Modified-Since 条件请求返回 304,减少不必要的文件传输。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>