Support sitemap Etag Header

sonofmagic
0
sonofmagic
commented 15 days ago

What problem does this feature solve?

Sitemap with Rtag can speed up search engine crawling. Baidu search engine can respond to sitemap updates more quickly. refer:https://ziyuan.baidu.com/college/articleinfo?id=456

What does the proposed changes look like?

options:{
Etag:true
}

idea
0
NicoPennec
1.4k
NicoPennec
commented 13 days ago

I was not aware of this optimization by Etag Header optmization for the Baidu search engine ๐Ÿ‘

We should be able to take inspiration from this code from Nuxt: https://github.com/nuxt/nuxt.js/blob/76b1167d27b39a19ae2556334cd59e04ae19c1a8/packages/server/src/middleware/nuxt.js#L39-L49

0
Informations
Feature Request โ€ข Open
#c63 - Created 15 days ago