In-Depth Analysis: How to Achieve Local Calculation of JS Encrypted Parameters through MD5 Algorithm Completion

In-Depth Analysis: How to Achieve Local Calculation of JS Encrypted Parameters through MD5 Algorithm Completion

1. Introduction to JS Encryption 1. Instant Data Interaction In previous articles, crawlers obtained the required response data by making one-time requests to web pages. This method can directly filter data using Xpath or JsonPath based on the type of data. However, if the data to be crawled requires instant interaction to obtain, it will … Read more

Behind the Popularity of dspx: C++ Acceleration + Redis Persistence for Maximum Performance

Behind the Popularity of dspx: C++ Acceleration + Redis Persistence for Maximum Performance

Behind the Popularity of dspx: C++ Acceleration + Redis Persistence for Maximum Performance! 0x01 Introduction: Did you think Node.js could only write backend interfaces? It can also handle brain waves! Today, we won’t talk about React, Vue, or microservices, K8s. Let’s discuss something hardcore—Digital Signal Processing (DSP). You might be thinking, “Isn’t DSP something for … Read more

Setting Up a Local JavaScript Runtime Environment on Embedded Linux Systems

Embedded Linux systems often require a lightweight JavaScript runtime environment that supports Node.js or pure JavaScript engines (such as Duktape or QuickJS). The following steps outline the setup method and example tests. Environment Selection and Installation Depending on the resource limitations of the embedded device, the following options can be selected: Node.js Option: Suitable for … Read more

Node.js Network Development: Building an HTTP Server

Let’s delve into the core aspects of Node.js network development: building an HTTP server and implementing routing control. This content is the foundation of all Node.js-based web frameworks (such as Express, Koa). Understanding it will give you a deeper insight into what these frameworks actually do. — ### **6.3 Building an HTTP Server** In Node.js, … Read more

Node.js HTTP Client Memory Leak Issue

Recently, a developer in the community submitted an issue regarding a memory leak in the HTTP module, which affects the Node.js HTTP client. However, this is a rather special scenario that generally does not occur unless the server maliciously attacks the client. A pull request (PR) has recently been submitted to fix this issue, and … Read more

Analysis of the Advantages of the HTTP/2 Protocol

Analysis of the Advantages of the HTTP/2 Protocol

Author | wanago Translator | Xiaodafei Editor | Yonie The HTTP protocol was introduced in 1991 and has been around for nearly 30 years. Since the first documented version (later known as 0.9), it has undergone a significant evolution. In this article, we will briefly review the history of the HTTP protocol, highlight what HTTP/2 … Read more

Using The Http2 Module In Node.js

Using The Http2 Module In Node.js

Concept <span><span>http2</span></span> is a core module in Node.js used to implement the HTTP/2 protocol. HTTP/2 is an upgraded version of HTTP/1.1, designed to improve web performance. It introduces features like multiplexing, header compression, and server push, significantly reducing latency and improving data transfer efficiency. Importance Performance Improvement: HTTP/2 allows multiple requests and responses to be … Read more

Installing Typora Editor on Linux: A Practical Guide

Installing Typora Editor on Linux: A Practical Guide

Note: The “cloud host” mentioned in this article refers to the development desktop provided free of charge to every registered user in Huawei Developer Space, which operates purely through a web interface, making it convenient for casual use without leaving traces on work computers. Using Typora in conjunction with PicGo, you can write technical sharing … Read more

Debugging a Mysterious HTTP Streaming Issue

Debugging a Mysterious HTTP Streaming Issue

Translator:@Piao Piao Author:@Nick Khami https://mintlify.com/blog/debugging-a-mysterious-http-streaming-issue-when-cloudflare-compression-breaks-everything Introduction This article discusses the issues encountered when using fetch for HTTP streaming—cURL and Postman worked perfectly, but both the browser and node-fetch failed to stream the response. The problem was ultimately traced back to response compression: the browser sends Accept-Encoding by default, and the server returned compressed content, which … Read more

Resolving a Node.js Error Related to Cryptographic Algorithms

Resolving a Node.js Error Related to Cryptographic Algorithms

Error: error:0308010C:digital envelope routines::unsupported This is usually because Node.js is attempting to use an unsupported cryptographic algorithm or option. Solution: 1. Roll back to a lower, compatible version. 2. Add the following statement to the startup command (Windows): # Before modification: "dev": "cross-env PATH_TYPE=dev nuxt",# After modification: "dev": "SET NODE_OPTIONS=–openssl-legacy-provider &amp;&amp; cross-env PATH_TYPE=dev nuxt", There … Read more