• Resolved yuliandesign

    (@yuliandesign)


    Cordial greetings.

    I post this here because I see no other place to do it: Siteground offers NGINX Direct Delivery, but it has a problem, and that is that for those of us who have woocommerce stores with virtual products, enabling this function breaks the protection that woocommerce offers for files attached to virtual products. So when activating NGINX Direct Delivery my pdfs become directly accessible with their url.

    I discussed the issue with support but they told me there was no solution for them, which is a big disadvantage compared to Light speed for example which speeds up my website much more compared to Siteground and does not break the protection of my virtual products, because in my case I must have NGINX Direct Delivery disabled and I lose one more feature of the hosting for the speed of my page.

    My goal is to improve the functioning of NGINX Direct Delivery to provide a complete service to those of us who have Woocommerce stores with virtual products.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Vladimir Trandev

    (@vtrandev)

    Hello @yuliandesign,

    I would recommend you to activate NGINX Direct Delivery and then to try tweaking the frontend optimization options in our plugin, so you can check if there will be any difference.

    https://siteground.com/tutorials/wordpress/speed-optimizer/frontend-optimization/

    If this is the case, you can leave the particular setting disabled and still benefit from the rest of the features offered by our plugin. If the issue persists, please feel free to update your ticket in your Client Area at Siteground or to submit a new one, so we can make further investigation.

    Regards,

    Vladimir

    Thread Starter yuliandesign

    (@yuliandesign)

    Hi @vtrandev

    On the plugin side it cannot be solved, there is no function that prevents the woocommerce_uploads directory from being cached. The only solution is to disable NGINX Direct Delivery from the tools site.

    I will send a ticket to support again, although as I mentioned before, once I reported it, and they did not give me a solution nor did they mention that they were going to investigate it.

    Thread Starter yuliandesign

    (@yuliandesign)

    I wrote again and they told me the same thing, that for my use case the best thing to do is to deactivate the service and that was it. It’s a shame that Siteground doesn’t take into account something so serious and that it harms the speed of those of us who have virtual product stores.

    Plugin Support Simeon Boev

    (@k3llanved)

    Hello @yuliandesign,

    Due to the method used to cache static files the direct delivery feature should remain disabled if you intend to serve files directly from a specific folder. To compensate for the lack of static file cache consider enabling our CDN service, as this will come in hand in regards to performance and speed. Something else to keep in mind that Woocommerce disables direct access to the woocommerce_uploads directory by default and the plugin offers different options to attach an unique string to all downloadable products as a way to protect them and avoid direct file access. Consider adjusting the setup of the digital product storage and processing as a way to add an additional security layer and allow for our static caching service to be enabled:

    https://woocommerce.com/document/digital-downloadable-product-handling/#unique-string

    Best Regards,

    Simeon Boev

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.