当前位置:网站首页>服务端渲染
服务端渲染
2022-06-25 10:14:00 【m0_49471668】
在服务端渲染好再传给浏览器就是服务端渲染,比如以前的jsp页面,将写好的html模板等传到浏览器来
服务端渲染:服务器直接渲染好对应的html页面,返回给客户端进行展示,比如jsp页面
好处:前端耗时少,减少了首屏时间,占用客户端资源少 坏处:服务端压力大
前端渲染:网络请求获取数据渲染到html页面中,比如SPA页面(也就是vue-cli构建的页面)
好处:首屏时间长,页面加载好后不会再重新加载,数据请求比较少,速度快。服务器压力小,只用出数据就可以,
坏处:前端耗时多,对前端人员水平要求高,前端代码较多,因为在后端的交互部分逻辑交给了前端,占用部分客户端资源用于解析。
边栏推荐
- IdentityServer4 定义概念
- 【论文阅读|深读】LINE: Large-scale Information Network Embedding
- 我的作文题目是——《我的区长父亲》
- I have summarized the knowledge points of JS [intermediate and advanced] for you
- Redis (II) distributed locks and redis cluster construction
- Houdini graphic notes: could not create OpenCL device of type (houdini_ocl_devicetype) problem solving
- 【RPC】I/O模型——BIO、NIO、AIO及NIO的Rector模式
- Network protocol learning -- lldp protocol learning
- Yolov5更换上采样方式
- Free platform for wechat applet making, steps for wechat applet making
猜你喜欢

Detailed explanation of Android interview notes handler

How to make a self-service order wechat applet? How to do the wechat order applet? visual editing

String longest common prefix

Consul的基本使用与集群搭建

Redis (II) distributed locks and redis cluster construction

之前字符串反转的题目

网络协议学习---LLDP协议学习

WebApi性能优化

Mqtt beginner level chapter

The real difference between i++ and ++i
随机推荐
Tutorial on installing SSL certificates in Microsoft Exchange Server 2007
ShardingSphere-Proxy 5.0 分库分表(一)
我希望按照我的思路盡可能將canvas基礎講明白
Floating window --- create a system floating window (can be dragged)
[today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
Linked list delete nodes in the linked list
原生小程序开发注意事项总结
Kotlin advanced generic
Create menu file
Bug- solve the display length limitation of log distinguished character encoding (edittext+lengthfilter)
单片机开发---基于ESP32-CAM的人脸识别应用
String longest common prefix
Floating window --- create an activity floating window (can be dragged)
NetCore性能排查
This is enough for request & response
依赖属性、依赖附加属性以及类型转换
The real difference between i++ and ++i
JS【中高级】部分的知识点我帮你们总结好了
How to build a wechat applet? How to open an applet?
WPF 绑定表达式和绑定数据源(一)