There is nothing in the ExpressJS documentation about how files are uploaded.
My question is: when I request a static file, is the file loaded with every request? Or is it somehow cached? If so, how?
Express will not automatically cache static content. To do this, we need to use the https://www.npmjs.com/package/cache-control middleware. More details here ( http://blog.modulus.io/nodejs-and-express-static-content ) which helps
, ?
, . OS' (, , ) , , , .
, , , , , () ( , ).
Node , , Express, , , .
(ETags ..), .
. : https://github.com/drewdotpro/https-express-static-server-cache-and-gzip
Source: https://habr.com/ru/post/1626415/More articles:Π£ΠΏΠΎΡΡΠ΄ΠΎΡΠΈΡΡ Π³ΡΠ°ΡΠΈΠΊΠΈ ggplot (Π³ΡΡΠ±Ρ Ρ ΠΎΠ΄ΠΈΠ½Π°ΠΊΠΎΠ²ΠΎΠΉ ΡΠΈΡΠΈΠ½ΠΎΠΉ) Ρ ΠΏΠΎΠΌΠΎΡΡΡ gtable Π΄Π»Ρ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΠΊΠΎΠΌΠΏΠΎΠ½ΠΎΠ²ΠΊΠΈ 2x2 - rCan users edit their personal details in CloudKit - iosThe link to the browser does not work VS 2013 Ultimate - does it look like SignalR is not working? - javascriptRatchet Server User Warning Raises Symfony ContextErrorException - phpangular2 router.navigate inside auth0 autoresponder - angularOCamlLex without case restrictions - ocamlpython elasticsearch-dsl parent child relation - pythonDocker waiting for postgresql to execute - dockerWhy does Directory.CreateDirectory sometimes fail? - c #How to replace text in "li" - javascriptAll Articles