You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.htaccess is for apache, not for node.js, nor for node-static.
You would have to implement gzip compression in node-static. Or find someone who does it for you.
Maybe you could compress the data after calling node-static with one of those node compression libraries available.
Tell us if your were successful.
PS: Read this Issue Report about GZIP compression: #20
I added gzip support in .htaccess, but I still couldn't make it work. Is there any way to serve Gzip files using node-static?
ref :
"AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript"
The text was updated successfully, but these errors were encountered: