mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 02:58:08 +08:00
feat: support etag
This commit is contained in:
@@ -23,4 +23,8 @@ module.exports = async (ctx, next) => {
|
||||
}
|
||||
|
||||
ctx.state.debuged = true;
|
||||
|
||||
if (ctx.status === 304) {
|
||||
ctx.debug.etag++;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user