当前位置:网站首页>Advantages and disadvantages of single page development and multi page development
Advantages and disadvantages of single page development and multi page development
2022-06-12 12:04:00 【Mustang (Mustang)】
** Single page application (SPA):** An application with only one main page , contain ( html, js, css). All page content is contained in this so-called main page . But at the time of writing , Still write separately ( Page fragment ), Then it is dynamically loaded by the router during the interaction , Single page page Jump , Refresh only local resources . Most of them are used in pc End .
Advantages of a single page :
1, Good user experience , fast , Content changes do not need to reload the entire page , Based on this spa Less pressure on the server
2, Fore and aft end separation
3, Page effect will be more cool ( For example, when switching page content, special animation )
Disadvantages of single page :
1, It's not good for seo
2, Navigation not available , If you have to navigate, you need to move forward by yourself 、 back off .( Because it's a single page, you can't use the browser's forward and backward functions , So you need to build your own stack management )
3, It takes a lot of time to load for the first time
4, The complexity of the page is much higher
Multi page (MPA), It means that there are multiple pages in an application , When the page jumps, the whole page is refreshed .
The disadvantage of multiple pages :
Page switching load slowly , Bad user experience , Poor fluency .
边栏推荐
- 【QNX Hypervisor 2.2 用户手册】4.1 构建QNX Hypervisor系统的方法
- Thirty one items that affect the weight of the store. Come and see if you've been hit
- Multiplication instruction of arm instruction set
- Jump instruction of arm instruction set
- LeetCode_ String_ Simple_ 344. reverse string
- ARM指令集之数据处理类指令
- PDSCH related
- this的指向
- Load/store instruction addressing mode of arm instruction set (2)
- QT添加QObject类(想使用信号和槽)遇到的问题汇总,亲测解决有效error: undefined reference to `vtable for xxxxxx(你的类名)‘
猜你喜欢

Doris records service interface calls

Chaîne la plus longue sans caractères dupliqués (leetcode 3)

Node crawler puppeter usage

DOM+JS+轮播图+无时间

【Leetcode】79. Word search

Lambda and filter, index of list and numpy array, as well as various distance metrics, concatenated array and distinction between axis=0 and axis=1

Ficusjs series (I) introduction to ficusjs

QT adds a summary of the problems encountered in the QObject class (you want to use signals and slots) and solves them in person. Error: undefined reference to `vtable for xxxxx (your class name)‘

Rich text editor copying pictures in word documents

Relation entre les classes et à l'intérieur des classes de classification vidéo - - Régularisation
随机推荐
【QNX Hypervisor 2.2 用户手册】4.1 构建QNX Hypervisor系统的方法
conda环境下pip install 无法安装到指定conda环境中(conda环境的默认pip安装位置)
Channel Shuffle类
Jump instruction of arm instruction set
[database] SQLite version upgrade and downgrade
机器学习之决策树
Spark常用封装类
异步路径处理
Thirty one items that affect the weight of the store. Come and see if you've been hit
System.IO.FileLoadException异常
Reasons for SSL introduction and encryption steps
IP address management
SSL引入原因及加密步骤
ioremap
Doris records service interface calls
Neighbor item status update of neighbor subsystem
Compiling Draco library on Windows platform
The second regular match is inconsistent with the first one, and the match in the regular loop is invalid
LeetCode 1037. Effective boomerang (vector cross product)
TinyMCE series (I) TinyMCE environment construction