Question

is it ok to minify Java or Css in NGINX?

  • Posted February 1, 2015

hello I run wordpress website using Ubuntu 14.04 + LEMP + FAST CGI + W3 TOTAL CACHE + CDN

I read variety of tutorial regading to optimizaion, people say don’t minify css or java

btw I would like to use minify plug in in wordpress to more optimize on my website. is it ok to use

minify plugin?

Subscribe
Share

Since javascript and css are interpreted client-side by the browser the choice of web server should not matter in your choice whether to minify the code. As long as the Wordpress plugin you are using simply minifies the css and js you should not encounter any problems.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @ryanpq:

Since javascript and css are interpreted client-side by the browser the choice of web server should not matter in your choice whether to minify the code. As long as the Wordpress plugin you are using simply minifies the css and js you should not encounter any problems.

View the original comment