Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
echo
2016-01-13 10:45:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33b6252f1810023c37af7d8e5e68d081054a75f0
33b6252f
1 parent
187a2f7c
Created 动态更新分类优化逻辑 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
动态更新分类优化逻辑.md
动态更新分类优化逻辑.md
0 → 100644
View file @
33b6252
1
+
以下操作确保分类信息和布局信息的一致性
2
+
3
+
静态资源更新。
4
+
从后台进入前台的时候,也需要检查静态资源是否需要更新。如果需要更新,则在后台静默更新。
5
+
如果检查到布局文件的更新,则通知重新获取当前的分类信息,刷新缓存,重新生成分类页面。
6
+
7
+
获取分类信息
8
+
优先读缓存,同时后台去获取当前分类信息。获取到之后,和本地信息对比,如果判断分类信息发生了改变,则重新获取布局文件,获取成功之后,再重新创建分类页面。
Please
register
or
login
to post a comment