Tag

request interceptor

1 views collected around this technical thread.

Architect
Architect
Jan 22, 2025 · Frontend Development

Refactoring the External Product Detail Page: SSR Migration, Request Interceptor and Tracking Hook Redesign

This article details the complete redesign of the external product detail page, replacing the uni‑app SPA with a source‑build SSR solution, introducing a split‑first‑screen data strategy, multi‑environment support, risk‑controlled fallback mechanisms, and targeted refactors of request interceptors and tracking hooks, resulting in significant performance and business metric improvements.

PerformanceSSRfrontend
0 likes · 17 min read
Refactoring the External Product Detail Page: SSR Migration, Request Interceptor and Tracking Hook Redesign
ByteFE
ByteFE
Aug 30, 2021 · Frontend Development

Deep Dive into Axios: Core Architecture, Request Flow, and Customization

This article provides a comprehensive analysis of Axios, covering its core directory structure, internal request/response flow, interceptor mechanism, data transformation, adapter handling, and ways to customize or replace default behavior, illustrated with extensive source code excerpts.

AxiosFront-endHTTP
0 likes · 18 min read
Deep Dive into Axios: Core Architecture, Request Flow, and Customization
360 Quality & Efficiency
360 Quality & Efficiency
Oct 23, 2020 · Frontend Development

Encapsulating Axios in a Vue Project: Installation, Configuration, and Request Handling

This guide explains how to install Axios, set up a reusable HTTP module in a Vue project, configure environment‑specific base URLs, define request timeouts and headers, and implement request and response interceptors along with simple get/post wrapper functions.

AxiosHTTPJavaScript
0 likes · 6 min read
Encapsulating Axios in a Vue Project: Installation, Configuration, and Request Handling