Question about NGINX caching


#1

If I enabled website with nginx caching, I should enable only obejct cache. Nginx takes care of the rest. But how do I Minify JS and CSS objects? Can nginx do that?

Is situation with Varnish the same? Tnx


#2

We never used varnish so can’t say anything.

If you create website with --wpfc (NGINX FastCGI) cache then its install w3tc (W3 Total Cache) plugin and at site creation time its give you some messages what you have to configure.

For Example:

Configure nginx-helper:	http://example.com/wp-admin/options-general.php?page=nginx
Configure W3TC:		http://example.com/wp-admin/admin.php?page=w3tc_general
Page Cache:		Disable
Database Cache:		Memcached
Object Cache:		Memcached
Browser Cache:		Disable

To minify css and js current we used w3tc (W3 Total Cache) plugin.

Soon we planned to use Google PageSeed for css/js minification and image optimisation Refer:https://rtcamp.com/tutorials/nginx/using-pagespeed/


#3

Hello @Matias65

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#4