A request processing method, comprising: receiving (101, 301) a content delivery network, CDN, request; acquiring (102, 302) a dynamic code corresponding to the CDN request, wherein the dynamic code is a pre-configured code; wherein the acquiring (102, 302) the dynamic code corresponding to the CDN request comprises: acquiring the dynamic code from a CDN edge node corresponding to domain name information in the CDN request; compiling (103, 307) the dynamic code in the real time to obtain a compiled code; and executing the compiled code; wherein the compiling (103, 307) the dynamic code in real time to obtain the compiled code comprises: determining whether the dynamic code comprises an unsafe feature by performing static detection on the dynamic code; and performing dynamic calculation on the dynamic code to generate the compiled code in a case that a result of the static detection does not comprise the unsafe feature; wherein the performing the dynamic calculation on the dynamic code to generate the compiled code further comprises: creating a Java Script, JS, virtual machine for executing the CDN request; adding the dynamic code into the JS virtual machine; and compiling the dynamic code in the real time to generate the compiled code. receiving (101, 301) a content delivery network, CDN, request; acquiring (102, 302) a dynamic code corresponding to the CDN request, wherein the dynamic code is a pre-configured code; wherein the acquiring (102, 302) the dynamic code corresponding to the CDN request comprises: acquiring the dynamic code from a CDN edge node corresponding to domain name information in the CDN request; compiling (103, 307) the dynamic code in the real time to obtain a compiled code; and executing the compiled code; wherein the compiling (103, 307) the dynamic code in real time to obtain the compiled code comprises: determining whether the dynamic code comprises an unsafe feature by performing static detection on the dynamic code; and performing dynamic calculation on the dynamic code to generate the compiled code in a case that a result of the static detection does not comprise the unsafe feature; wherein the performing the dynamic calculation on the dynamic code to generate the compiled code further comprises: creating a Java Script, JS, virtual machine for executing the CDN request; adding the dynamic code into the JS virtual machine; and compiling the dynamic code in the real time to generate the compiled code. determining whether the dynamic code comprises an unsafe feature by performing static detection on the dynamic code; and performing dynamic calculation on the dynamic code to generate the compiled code in a case that a result of the static detection does not comprise the unsafe feature; wherein the performing the dynamic calculation on the dynamic code to generate the compiled code further comprises: creating a Java Script, JS, virtual machine for executing the CDN request; adding the dynamic code into the JS virtual machine; and compiling the dynamic code in the real time to generate the compiled code. creating a Java Script, JS, virtual machine for executing the CDN request; adding the dynamic code into the JS virtual machine; and compiling the dynamic code in the real time to generate the compiled code.