HISE Logo Forum
    • Categories
    • Register
    • Login

    Facing product download dilemma/issues

    Scheduled Pinned Locked Moved Solved General Questions
    18 Posts 5 Posters 631 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @gorangrooves
      last edited by

      @gorangrooves said in Facing product download dilemma/issues:

      there is a plugin that integrates with WooCommerce.

      Tell me more

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      gorangroovesG 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @d.healey
        last edited by ustk

        @d-healey @aaronventure @gorangrooves Thanks guys! That's indeed what I needed to hear...
        As for the licensing part, it is all done and working using a php plugin I've made.
        So really the only thing I need is generating a the fresh link for identified users.

        I will check the different storage solutions/CDNs you gave me in the next days to see which one fits my workflow the best. I tried Bunny CDN last week (just for the automated site acceleration part, not third party storage) and it was catastrophic for my website. I am not saying Bunny was the cause of the poor loading response by itself, but maybe more CDNs in general. Through this little journey I learned that almost no websites need a CDN and people often think it will help while in reality it doesn't (I've read this from different sources)
        So since I only need a storage, a CDN might not be relevant to me (except if they offer separate pricing tiers so I don't use the habitual acceleration)

        Can't help pressing F5 in the forum...

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @d.healey
          last edited by

          @d-healey The plugin is:

          Link Preview Image
          Upload Your WordPress Media to Amazon S3 with WP Offload Media - Delicious Brains Inc

          Speed up your WordPress site by offloading your media to Amazon S3, DigitalOcean Spaces or Google Cloud Storage. Watch a full demo and see how it works.

          favicon

          Delicious Brains (deliciousbrains.com)

          It automatically transfers all of your uploaded content from the website over to the CDN and updates the website links to pull assets from the CDN. You can offload any assets from the CDN to be served from your website.

          For software distribution, I upload files directly to the Digital Ocean CDN. Unlike Amazon's ridiculous barrage of settings, it is as simple as "private or public" for any file. I set them to "public," as no one actually sees the direct links. The WP plugin, in conjunction with WooCommerce, creates unique links on the fly. The links expire as soon as they are used, but new ones are generated as soon as the user clicks on the download button.

          When setting WooCommerce products, I use the CDN endpoint links for each product. You are provided 3 links for each uploaded file by the DO CDN: origin, CDN, and subdomain endpoints.

          The WP Offload Media can also be used with Amazon.

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

          1 Reply Last reply Reply Quote 1
          • gorangroovesG
            gorangrooves @ustk
            last edited by

            @ustk a CDN should be helpful since files are distributed to several "edge" locations around the world and get served to end users from the location closest to them.

            The CDN plugin I mentioned here works great. I use it to serve all images, videos, and products from the CDN.

            Make sure your website uses HTTP2 protocol, as multiple resources get served at the same time, as opposed to one-by-one, thus speeding up your website.

            Goran Rista
            https://gorangrooves.com

            Handy Drums and Handy Grooves
            https://library.gorangrooves.com

            ustkU 1 Reply Last reply Reply Quote 0
            • clevername27C
              clevername27 @d.healey
              last edited by

              @d-healey Another vote for S3

              gorangroovesG 1 Reply Last reply Reply Quote 0
              • gorangroovesG
                gorangrooves @clevername27
                last edited by

                @clevername27 Have you tried the Digital Ocean CDN?

                Goran Rista
                https://gorangrooves.com

                Handy Drums and Handy Grooves
                https://library.gorangrooves.com

                clevername27C d.healeyD 2 Replies Last reply Reply Quote 0
                • clevername27C
                  clevername27 @gorangrooves
                  last edited by

                  @gorangrooves I have not, no.

                  gorangroovesG 1 Reply Last reply Reply Quote 0
                  • gorangroovesG
                    gorangrooves @clevername27
                    last edited by

                    @clevername27 Then your vote doesn't count. Sorry. 😂

                    Goran Rista
                    https://gorangrooves.com

                    Handy Drums and Handy Grooves
                    https://library.gorangrooves.com

                    1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @gorangrooves
                      last edited by

                      @gorangrooves yeah I understand the principle of CDNs and this is exactly why I jumped into it when realising the slowness of my website. Then after some tests and readings, I realised that only a few specific websites actually need one, and the fact that it is cached in several places is in the end not a good argument (which is weird to hear at first, I agree) A good optimisation of the website is way better than a CDN with a "natively messy and not optimised wordpress" website.

                      Can't help pressing F5 in the forum...

                      gorangroovesG 1 Reply Last reply Reply Quote 0
                      • gorangroovesG
                        gorangrooves @ustk
                        last edited by

                        @ustk A CDN is not going to compensate for other shortcomings. It should be used in conjunction with and as part of the overall optimization process. I recommend running the tests and checking out the recommendations in browser dev tools.

                        I've done a fair amount of this over the years. The most critical things that make the biggest impact are the size of images, caching of everything that can be cached, GZIP compression, lazy load of images and videos, and HTTP2 protocol. Of course, a good server is very important.

                        Years ago, before I delved into all of this, I was working on a website and wondering why it was taking ages to load (50 sec). Then I realized my images were like 1.5MB each 😂 Once I brought them down to 120KB each and implemented the other optimizations, the website has been loading instantly ever since.

                        Goran Rista
                        https://gorangrooves.com

                        Handy Drums and Handy Grooves
                        https://library.gorangrooves.com

                        1 Reply Last reply Reply Quote 1
                        • d.healeyD
                          d.healey @gorangrooves
                          last edited by

                          @gorangrooves said in Facing product download dilemma/issues:

                          Digital Ocean CDN

                          The price looks to be the same as S3 so I'm not sure I see an advantage to using it, other than not having to deal with AWS stuff (but I already have that set up and use it for mail too).

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          gorangroovesG 1 Reply Last reply Reply Quote 0
                          • gorangroovesG
                            gorangrooves @d.healey
                            last edited by

                            @d-healey For you, if you are already on S3 and set up, there would be no advantage.
                            For somebody new, the advantage of it is that it is a lot simpler and easier to use.

                            I use both for a couple of websites I run, so I am able to compare them.

                            Goran Rista
                            https://gorangrooves.com

                            Handy Drums and Handy Grooves
                            https://library.gorangrooves.com

                            1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk
                              last edited by

                              Alright guys, so finally Bunny CDN has an API for the storage part with secure/unique download link generation, so I go with it. (might not be the best but it's not the question for now, and since I will probably never have big sample based instruments but more DSP stuff, the size does not matter 😉

                              Can't help pressing F5 in the forum...

                              gorangroovesG 1 Reply Last reply Reply Quote 0
                              • ustkU ustk has marked this topic as solved on
                              • gorangroovesG
                                gorangrooves @ustk
                                last edited by

                                @ustk yeah, that's what she said. 😂

                                Goran Rista
                                https://gorangrooves.com

                                Handy Drums and Handy Grooves
                                https://library.gorangrooves.com

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post

                                7

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                102.4k

                                Posts