Front end performance optimization - using content distribution network CDN

Why use CDN When more and more components are introduced, use the app packaged by webpack JS file is easy to become too large, which is very unfriendly to the first screen loading. The JS code using the third-party resources of CDN will no longer be packaged into the JS package of local services. Reduce the volume of local JS package and imp ...

Posted by Anyaer on Wed, 26 Jan 2022 06:58:02 +0100

Performance optimization and practice of front-end picture rendering - lazy loading of pictures

preface For the home page APP with a large number of pictures, you need to add a large number of pictures when opening the commodity display page. In this scenario, if you directly load the full amount, it will inevitably lead to excessive page performance consumption, white screen or Caton, and the user experience is very bad. Do users really ...

Posted by yousaf931 on Tue, 25 Jan 2022 12:43:30 +0100

Audio and video learning C language introduction

preface Now it is more and more difficult for Android junior and intermediate development engineers to find a satisfactory job. Of course, those with strength do not worry about a good job. If you happen to be a junior and intermediate engineer who wants to advance the direction of audio and video or is interested in NDK technology, you must b ...

Posted by MissiCoola on Sat, 22 Jan 2022 22:41:10 +0100

Website development advanced anti shake throttling

1, Foreword - why anti chattering or throttling The realization of anti chattering or throttling is mainly based on the following purposes: Reduce server pressure when querying in time.Frequently perform DOM operations, resource loading and other heavy behaviors, resulting in UI pause and even browser crash.The requirement is to perform ...

Posted by Joseph Witchard on Fri, 21 Jan 2022 16:22:31 +0100

Front end page rendering optimization -- performance tool analysis and optimization

First of all, this is a code run to calculate the optimization of a large number of logic. (1) Scene When there is a lot of logical calculation of data in JSNon static resource optimizationCode level optimization (2) Tools The performance of Chrome Devtools can be found by pressing F12 in the browser. (3) Situation When our page is carryi ...

Posted by vishi83 on Thu, 13 Jan 2022 14:44:40 +0100

CSS performance optimization

What are the ways to improve performance? 1. merge css File, if 10 pages are loaded css file,1 per file k,Then it's better than loading only one 100 k of css File slow. 2. reduce css Nesting, it is best not to nest more than three layers. 3. Don't be ID Nested in front of the selector, ID It is unique and has a large permission value. Nesting ...

Posted by suomynonA on Wed, 12 Jan 2022 12:23:50 +0100

Slow echo of cascade selector Cascader in iView

A brief summary of some small problems encountered in the daily development of iView, Today, let's talk about the experience of using iView cascade selector Cascader: [reference: iView ] 1. Existing problems: When the cascade selector echo data, it will load slowly and the corresponding time is not timely. The amount of data is slightly larg ...

Posted by MrLister on Tue, 11 Jan 2022 11:20:16 +0100

Today, let's analyze several common table connection methods in SQL in detail

Introduction: SQL optimization is the most important part of database performance optimization. The key of SQL optimization is inseparable from three points: table connection mode, access path and execution order. This paper focuses on several common connection modes. For multi table Association query, the execution steps of the query optimize ...

Posted by MSK7 on Sat, 08 Jan 2022 02:24:01 +0100

In combination with the "Kangxi draft", let's talk about "virtual list"

I think I speak well. Please give me a compliment. Thank you. Hee heesceneKangxi imperial concubine selectionIt is said that this year is the 53rd year of Kangxi. The world is peaceful. No one in the world does not sigh that "Kangxi prosperous age". Kangxi himself is also very happy. "I have struggled for most of my life and can' ...

Posted by skyxmen on Fri, 07 Jan 2022 02:44:29 +0100

30 day self-made C + + server day13-C + + engineering and performance optimization

In the previous tutorial, we have completely developed the core architecture of a master-slave Reactor multithreaded server. The next development focus should shift from architecture to details. Before that, it is necessary and necessary to modernize and engineer the whole project. The first step in C + + project engineering must be to use CMa ...

Posted by hukadeeze on Tue, 04 Jan 2022 20:56:27 +0100