当前位置:网站首页>Hot renewal process
Hot renewal process
2022-06-29 04:12:00 【TO_ ZRG】
https://blog.csdn.net/qq_31336891/article/details/80859016
The first thing to be clear is stream asset Next There are three profiles A version number 、 One resource list ( Include MD5)、 One Resource tag file , Mark that the file is in asset Next still In cache , This tag file is updated in real time
however stream The list of resources inside 、 Version number 、 Tag file Is not updated There is an up-to-date... In the cache ( Always updated ) ,stream Only during the first installation Will be used , Other times , Will use the cache
Start warming up
Pull the version number of the server , Compare with the local version number
First look at the resource tag file The package does not contain this file ,
It doesn't contain
Description is a new resource , Download to cache , Update resource tag file , List the version number and resources Write to cache
contain
Indicates that the file already exists , Look at the tag , See if the file exists in asset It is still in the cache
Read the corresponding MD5
If it's not the same , Download to the cache , Update resource tag file , List the version number and resources Write to cache
The function of the resource configuration file is Where to read MD5 file
------------------------ The above is one of the methods --------------------------
The second way is , On initial installation , hold stream Resources inside , Move to cache , In this way, all subsequent operations All are in the cache ,,, No resource tag files are required
When loading resources Are loaded from the cache
------------------------ Expand --------------------------------------
1.UWQ load assetbundle Is online loading , Not loaded locally , After loading, you can use , This applies to In game , Player triggered , For example, you need to download a resource , Just can use , Be careful Download it online every time
-----------------------------------
2.AssetBundle.LoadFromFile yes asssetbundle It has been downloaded to the cache , Need to load from local disk file assetbundle
------------------------------------
Heat is more generally Startup time The first bundle Download to local , Call again 2 Method , load resources
边栏推荐
- Error accessing database
- 树莓派用VNC Viewer方式远程连接
- Baidu AI Cloud service grid product CSM release 𞓜 hot public beta
- Analysis of moudo Network Library
- Blue Bridge Cup DFS (I)
- Web crawler knowledge day04
- String不同创建方式的区别
- Kingbase export table structure
- [fpga+sin] FPGA implementation of sinusoidal signal generator module based on DDS (direct digital synthesis)
- Multi machine LAN office artifact rustdesk use push!!!
猜你喜欢

Hcie security day41: theoretical learning: information collection and network detection
![[C language] address of stack memory associated with local variable 'num' returned](/img/34/f8cf86a18ed461b25073b740dece45.png)
[C language] address of stack memory associated with local variable 'num' returned

Redis 缓存穿透、缓存击穿、缓存雪崩

树莓派用VNC Viewer方式远程连接

Libuv library overview and comparison of libevent, libev and libuv (Reprint)

Technology: how to design zkvm circuit

JSX的基本使用

Inftnews | metauniverse technology will bring a new shopping experience

I came from a major, so I didn't want to outsource

The second meeting of the Second Council of Euler open source community was held, and Xinhua III, hyperfusion and Godson Zhongke became members of the Council
随机推荐
快速开发项目-VScode插件
How to merge upstream and downstream SQL data records
yolox出现 RuntimeError: DataLoader worker (pid(s) 17724, 1364, 18928) exited unexpectedly
sql数据库存储过程写法
SqlServer如何查询除去整列字段为null的结果
热更新流程
[C language] explain the thread recycling function pthread_ join
项目开发修养
SQL 数据记录如何上下行合并
1018 锤子剪刀布
pytorch 读写文件
技术:如何设计zkVM电路
【滤波器设计】根据设计指标使用matlab定制滤波器
[C language] explain the thread exit function pthread_ exit
多机局域网办公神器 rustdesk 使用强推!!!
Nuxt - 每个页面单独设置 SEO 相关标签及网页标题、图标等(页面配置 head)
Rapid development project -vscode plug-in
Is the increased life insurance off the shelf? What additional life insurance products are available now?
直播预约|AWS Data Everywhere 系列活动
为什么说测试岗位是巨坑?8年测试人告诉你千万别上当