• Hi all,

    My wordpress site is hosted with siteground. In their webmaster dashboard area under caching they have “NGINX DIRECT DELIVERY” which is enabled for my WordPress domain.

    https://imgur.com/a/Wi4Coan.png

    I’m wondering if I should still be using something like a W3 Total Cache plugin and managing that through the admin area of my site, even though I have the NGINX function enabled on my hosting dashboard?

    • This topic was modified 4 years, 4 months ago by Jan Dembowski.
Viewing 8 replies - 1 through 8 (of 8 total)
  • You should not need W3 Total Cache or any caching plugins if your host is providing caching services. In fact, most hosts that provide caching services server-side block W3 Total Cache and similar plugins from being used. If you are still experiencing slowness on a host that provides caching server-side chances are there is code that needs to be optimized in your theme or a plugin you are using.

    Hope this helps.

    Thread Starter andre1990

    (@andre1990)

    Thanks David. Understood.

    No speeds seem fine, i was just wondering if i was doing enough by using the server tools on offer to me, but it seems that I have my answer.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’d still recommend a plugin like “autoptimize” or “wp fast minify” to combine and minifiy CSS and Javascript files, reducing the number of requests from browsers for each page view.

    Moderator Yui

    (@fierevere)

    永子

    You can ask your webhosting support, but it seems that “NGINX Direct Delivery” just means that nginx works as reverse proxy for Apache and asks Apache for all requests, with direct delivery, nginx can serve some file types directly, this will reduce load on server and increase performance.

    This mode does not prevent you from using any type of caching, you still can do so.

    However, Direct mode will make .htaccess rules for gzip and expiry headers for images,css,js and other directly served types useless, nginx does not read .htaccess (But your hosting should provide reasonable defaults for browser caching of static assets)

    Thread Starter andre1990

    (@andre1990)

    Hi Yui,

    I can’t say im very familiar with NGIX or its benefits on the server side. What would you do in my case then, run a caching plugin in addition to having NGIX Direct Delivery enabled?

    Thanks

    In the case of siteground who @andre1990 is using they can activate CSS/JS minification in the Site Tools interface. No WP plugins necessary.

    Same with GZIP compression. No need to use a plugin or modify .htaccess since he is using sigeground it can be done directly in the Site Tools interface.

    • This reply was modified 4 years, 4 months ago by Davood Denavi.
    Moderator Yui

    (@fierevere)

    永子

    What would you do in my case then, run a caching plugin in addition to having NGIX Direct Delivery enabled?

    Running a caching plugin will have same benefits as if you run caching plugin without nginx direct delivery.

    @andre1990 I am suggesting you use the built in caching services SiteGround offers paired with the NGIX file deliver option because caching plugins can be very hard to configure. While everyone else is suggesting you use a plugin.

    Basically, you can use a plugin for caching or use the built-in server-side caching that is offered but do not use both, never use server-side caching options paired with a caching plugin. That will give you a million headaches.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Question about Caching (Siteground)’ is closed to new replies.