Latest Articles
Several common configurations and techniques of Nginx
Configure multiple domain names for one site. Configure multiple sites for one serviceseparated by spaces. Nginx adds account password verification. Nginx Open Column Directory. Configure default site. IP access is not allowed.
...
More >>
2022-05-09
nginx
/
domain
/
sites
/
upstream
/
keepalive
IOS Platform Features
Devices using iOS share some commonalities that affect the experience of using their programs. Programs that adapt to these characteristics will be more successful, providing users with a superior experience with the device.
1.No matter the size, the screen is what mattersThe screen of an iOS device
...
More >>
Several security-related configurations of Nginx
Here is a summary of some security-related configurations in nginx configuration.
Hide version number123http { server_tokens off;}
There are often security vulnerabilities targeting a certain version of nginx. Hiding the nginx version number has become one of the main security optimizati
...
More >>
2022-04-25
nginx
/
hide
/
HTTPS
/
white list
/
verification
/
limit
Front-end performance optimization - package volume compressed by 82%, package speed increased by 65%
Compressing the size of the packaged project and improving the packaging speed are very important links in the front-end performance optimization. I combine the practice summary in the work and sort out some conventional and effective performance optimization suggestions.
Background of the project
T
...
More >>
2022-04-18
performance
/
optimization
/
externals
/
momentjs
/
gzip
/
DllPlugin
Responsive Design
Simply put, apply different CSS styles to different screen resolutions. For example, on computers and Pad devices, if the screen is relatively wide, you can place two divs in a row.
When it comes to the phone or when the Pad is held upright, only one Div is placed in a row.
Here are two key points:
...
More >>
2022-04-11
CSS
/
media
/
Responsive
Do you know why the Loader is executed from right to left?
Do you know why the Loader is executed from right to left?Before we get into this, let’s understand a little bit about the basics of loader
No matter what module is processed by the loader, it will become a JS module
The leftmost loader return value must be a JS module, otherwise webpack won’t re
...
More >>
2022-04-03
Loader
/
pitch
/
Loader-Runner
/
configuration
Go releases the biggest update to the language ever!
On March 15, 2022, the Go core team announced the release of Go 1.18, which its official blog called “a huge milestone for the entire Go community”. In this release, the Go core team made the biggest syntax feature change since the Go language became open source - adding support for generics.
Here i
...
More >>
2022-03-27
Go
/
Generics
/
Fuzzing
/
Workspaces
/
performance
Front-end Performance Optimization - Resource Preloading
When it comes to front-end performance optimization, the first thing we associate with is file merging, compression, file caching, and enabling server-side gzip compression, which allows pages to load faster and users to use our web applications as quickly as possible to achieve their goals. 
...
More >>
How to Write Elegant Code Using High Order Functions in GO Language
PrefaceIn go projects, it is often necessary to query the database. Based on previous Java development experience, many methods will be written according to the query criteria, such as:
GetUserByUserID
GetUsersByName
GetUsersByAge
Write a method for each query condition. This method is very good f
...
More >>
Redis Persistence Explained
Redis is a high-performance key-value database that is widely used in projects, and every developer should master this skill. In today’s article, we’ll introduce Redis persistence in detail.
As we all know, Redis is memory-based and reads and writes data from and to memory, but the data does not dis
...
More >>
2022-03-06
Redis
/
RDB
/
AOF
/
persistence