当前位置:网站首页>服务端渲染
服务端渲染
2022-06-25 10:14:00 【m0_49471668】
在服务端渲染好再传给浏览器就是服务端渲染,比如以前的jsp页面,将写好的html模板等传到浏览器来
服务端渲染:服务器直接渲染好对应的html页面,返回给客户端进行展示,比如jsp页面
好处:前端耗时少,减少了首屏时间,占用客户端资源少 坏处:服务端压力大
前端渲染:网络请求获取数据渲染到html页面中,比如SPA页面(也就是vue-cli构建的页面)
好处:首屏时间长,页面加载好后不会再重新加载,数据请求比较少,速度快。服务器压力小,只用出数据就可以,
坏处:前端耗时多,对前端人员水平要求高,前端代码较多,因为在后端的交互部分逻辑交给了前端,占用部分客户端资源用于解析。
边栏推荐
- Can two Mitsubishi PLC adopt bcnettcp protocol to realize wireless communication of network interface?
- Deep understanding of JVM - JVM memory model
- String implementation strstr()
- SQL to object thinking vs SQL of object thinking
- I have summarized the knowledge points of JS [intermediate and advanced] for you
- Basic usage and principle of schedulemaster distributed task scheduling center
- 手机办理广州证券开户靠谱安全吗?
- Solutions using protobuf in TS projects
- 【动态规划】—— 数字三角形
- [paper reading | deep reading] line: large scale information network embedding
猜你喜欢

Opencv learning (II) -- installing opencv on raspberry pie

How do wechat applets make their own programs? How to make small programs on wechat?

How much does a wechat applet cost? Wechat applet development and production costs? Come and have a look

单片机开发---基于ESP32-CAM的人脸识别应用

Basic use and principle of Minio

How to build a wechat applet? How to open an applet?

Redis(一)原理与基本使用

NETCORE performance troubleshooting

【OpenCV 例程200篇】210. 绘制直线也会有这么多坑?

ShardingSphere-Proxy 5.0 分库分表(一)
随机推荐
Floating window --- create a system floating window (can be dragged)
【RPC】I/O模型——BIO、NIO、AIO及NIO的Rector模式
The title of my composition is - "my district head father"
Basic use and cluster construction of consult
Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software
How to make a self-service order wechat applet? How to do the wechat order applet? visual editing
Unreal Engine graphics and text notes: use VAT (vertex animation texture) to make Houdini end on Houdini special effect (ue4/ue5)
【系统分析师之路】第六章 复盘需求工程(综合知识概念)
依赖属性、依赖附加属性以及类型转换
On binary tree
[dynamic planning] - Digital triangle
2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “fmt“ ) func mai
How to make small programs on wechat? How to make small programs on wechat
手机办理广州证券开户靠谱安全吗?
Identityserver4 definition concept
Shardingsphere proxy 4.1 Sous - base de données sous - table
CDN+COS搭建图床超详细步骤
How much does a small program cost? How much does a small program cost? It's clear at a glance
Basic use and principle of Minio
QT: parsing JSON