-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚡️ perf: Optimize Cache-Control #2848
Conversation
@RubuJam is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
👍 @RubuJam Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2848 +/- ##
========================================
Coverage 93.25% 93.25%
========================================
Files 380 380
Lines 23795 23795
Branches 2543 2663 +120
========================================
Hits 22190 22190
Misses 1605 1605
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@RubuJam 构建挂了 |
@RubuJam build hangs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, thanks for your contribution~
❤️ Great PR @RubuJam ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
🎉 This PR is included in version 1.0.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
🐛 升级
@lobehub/ui
,由^1.141.2
至^1.142.4
,修复💄 style: Expand Clear tooltip maxWidth中,由于@lobehub/ui
原有版本较低所产生的问题💄 优化图片、
manifest.json
及Open Graph
中的缓存控制🐛 It is recommended that the
@lobehub/ui
package be upgraded from version1.141.2
to1.142.4
. This will address the issue identified in 💄 style: Expand Clear tooltip maxWidth, which was caused by the lower original version of@lobehub/ui
.💄 Optimize the cache control of images,
Open Graph
andmanifest.json
.📝 补充信息 | Additional Information
为
manifest.json
中的图片添加版本信息,若所涉图片更新,手动更改其版本号即可为
Open Graph
(src/app/metadata.ts
和src/server/metadata.ts
)中的图片添加版本信息,若所涉图片更新,手动更改其版本号即可Add version information be added to the images included in the
manifest.json
file. In the event that the images in question undergo an update, it is sufficient to manually alter their version numbers.Add version information be added to the images included in the
Open Graph
(src/app/metadata.ts
andsrc/server/metadata.ts
). In the event that the images in question undergo an update, it is sufficient to manually alter their version numbers.Before:
After: