Home  >  Q&A  >  body text

Please tell me how nginx handles static files?

Does nginx cache static files directly into memory, or does it read them from the hard disk and then return them to the client when a customer requests them?

phpcn_u1582phpcn_u15822712 days ago482

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 17:29:25

    Nginx is equivalent to a porter of nature.

    She mapped the network path (domain name) and the local path

    For example: http://localhost is actually accessed X:localhost!

    reply
    0
  • Cancelreply