Traditional Culture Encyclopedia - Traditional festivals - SSR Introduction -1: What is SSR?
SSR Introduction -1: What is SSR?
SSR is server-side rendering: vue instances are rendered as HTML strings in the background and returned directly, and activated as interactive programs in the front end.
Implementation principle:
Advantages:
Disadvantages:
Single-page application with its excellent user experience has gradually become the mainstream, and the page content is rendered by js, which is called client-side rendering. Its process is:
Disadvantages:
It is a compromise solution between traditional server-side rendering and single-page application: the back-end renders a complete dom structure, and the front-end gets the contents including: the first screen and the complete spa structure. After the application is activated, it still runs in the spa mode. This page rendering method is called server-side rendering, and its process is:
Advantages:
if all the above questions are answered in the affirmative, then you can consider how to do SSR:
- Previous article:Course promotion plan
- Next article:The difference between traditional architecture and virtualization
- Related articles
- Wenshan yi nationality
- English Christmas cards
- Lin Guangchao's Translation of Classical Chinese
- What are the four classic works of traditional medicine?
- What brand of jeans made in China is good?
- What are the specific methods of implementing mental health education in schools?
- What are the advertising media? What are their characteristics?
- Don't be arrogant to sell.
- What are A Bing's Erhu songs?
- What does the gesture of monopolizing South Korea mean?