Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
cocos
/
cocos4
Public
Notifications
You must be signed in to change notification settings
Fork
256
Star
1.4k
Code
Issues
54
Pull requests
30
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
修改cache manager报错
- #110
#110
Open
pengchengo
wants to merge 3 commits into
cocos:v4.0.0
cocos/cocos4:v4.0.0
from
pengchengo:修改cache-manager报错
pengchengo/cocos4:修改cache-manager报错
Copy head branch name to clipboard
Hidden character warning
The head ref may contain hidden characters:
"\u4fee\u6539cache-manager\u62a5\u9519"
Conversation
Commits
3
(3)
Checks
Files changed
Open
修改cache manager报错
#110
pengchengo
wants to merge 3 commits into
cocos:v4.0.0
cocos/cocos4:v4.0.0
from
pengchengo:修改cache-manager报错
pengchengo/cocos4:修改cache-manager报错
Copy head branch name to clipboard
Commits
Commits on Feb 10, 2026
解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。原因是_write方法里使用writeFileSync方法在字节小游戏上可能时长700ms,卡主游戏。修改方法是改成2.x的版本使用异步方法writeFile,cache-manager基本改成和2.x一样了。在每日10万+的游戏里测试没啥问题
pengchengo
committed
7873300
View commit details
Copy full SHA for 7873300
Browse repository at this point
Commits on Feb 26, 2026
增加格式化,解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。原因是_write方法里使用writeFileSync方法在字节小游戏上可能时长700ms,卡主游戏。修改方法是改成2.x的版本使用异步方法writeFile,cache-manager基本改成和2.x一样了
pengchengo
committed
c48ffc7
View commit details
Copy full SHA for c48ffc7
Browse repository at this point
Commits on Mar 26, 2026
修改cache-manager延迟调用caches.pop()前加上cache.length>0的判断
pengchengo
committed
12b173d
View commit details
Copy full SHA for 12b173d
Browse repository at this point
You can’t perform that action at this time.