[Hummingbird Pro] Bunny CDN integration

2

It would be excellent to establish an integration between Hummingbird and Bunny.net CDN, similar to the integration currently available with Cloudflare.

This integration would ensure compatibility and efficient cache management.

  • Le Bon Marché
    • New Recruit

    Hello Kris,

    Thank you so much for your reply!

    Actually, even if you’re already using Bunny CDN, I would like to use their services, so my website can load fast in different parts of the world.

    Now, I spoke to one of your colleagues over the chat and he told me that it isn’t compatible for the caching feature (as it does with CloudFlare).

    Mainly, I don’t know very well how all this is managed from your end. But, I want to use Bunny CDN (at least that you tell me that it’s already there and I don’t need it) so I can have a complete CDN solution for my website.

    Again, I don’t understand everything how it works here and I’m very new in this “technical” aspects of a website. I’m only looking for the best performance as possible, for every visitor on which ever country they can be.

    Concerning CloudFlare, I don’t want to use them because the free version doesn’t have any support and not much security there. So, I would rather use Bunny CDN because they have an outstanding service which I loved. I related more with their company, let’s say!

    So, please let me know if all this makes sense to you! You colleague suggested me to request the feature for compatibility between Hummingbird and Bunny CDN caching (or something like that!)

    Thank you again!

  • Nithin Ramdas
    • Support Wizard

    Hi Gonzalo Mongrut ,

    Just to clarify, both Cloudflare integration and Hummingbird CDN are different features. It sounds like you are clubbing different features together. The integration for Cloudflare is more related to APO while the Hummingbird CDN only helps with serving the files via the CDN..

    The Cloudflare integration under Hummingbird Pro > Caching only helps with connecting the site to Cloudflare to utilise the APO(Automatic Platform Optimization) feature in Cloudflare. Cloudflare does provide its own CDN however, the mentioned integration is only meant for using the APO feature.

    The APO in Cloudflare functions primarily as an advanced page cache mechanism for websites and doesn’t have any connection to how Hummingbird CDN works.

    The Hummingbird CDN when enabled uses the Bunny CDN network and it only serves the minified files via the Bunny CDN network.

    Thats for example, if there are files loaded in the site for example abc.css, xyz.css, these files will be minified and combined, ie for example:
    https://hb.wpmucdn.com/sites.abc.com/abc.css
    https://hb.wpmucdn.com/sites.abc.com/xyz.css
    etc

    So Hummingbird uses Buny CDN for the CDN service and these minified files will be cached once they are served via the CDN.

    Unfortunately, it isn’t possible to use a custom CDN service or your own Bunny CDN plan for the CDN, it’ll only be using the default WPMU DEV CDN.

    However, could we know what exact feature in Bunny CDN you are referring to? If you meant the CDN doesn’t get cached, then it should get cached once the minified files are generated on the Hummingbird side.

    Please do advise if I’m missing anything specific regarding this so that we can check further if needed.

    Kind Regards,
    Nithin

  • Le Bon Marché
    • New Recruit

    Hello there,

    Thank you very much for the clarification.

    So, for better understanding. Can I have any conflicts or issues with Hummingbird, if I use the Bunny CDN service directly with them?

    Then, usually the CDN service (in this case Bunny) will also have their own cache mechanisms. In this case they use their own CDN caching and also perma cache. I don’t know much about this but I asked them too about compatibility and they told me that here’s how their cache can be purged:

    “The CDN cache is purged via API or via dashboard; it can be purged by the whole pull zone or specific URL’s.”

    So, probably the feature that could be suitable to improve compatibility between Hummingbird and Bunny; would be to be able to purge the Bunny CDN caching (whichever they use) directly from Hummingbird. This way, everything could be done directly from the Hummingbird dashboard without needing to go to their dashboard or else.

    Please, let me know if this makes sense!

  • Nithin Ramdas
    • Support Wizard

    Hi Gonzalo Mongrut ,

    I’m afraid, that using a 3rd party CDN other than the inbuilt Hummingbird CDN(bunny CDN) can cause conflicts due to how the Hummingbird works.

    As stated before, Hummingbird CDN works by serving minified assets to its CDN ie JS, CSS files.

    So if you enable a 3rd party CDN, then even if the files aren’t minified the content will be served via CDN, which would defeat the purpose of using the Asset Optimization feature as the assets can get served before the files are minified.

    Theoretically using 3rd party CDN should work by keeping the Hummingbird CDN disabled and by enabling the 3rd party CDN after all the files are minified.

    However, if there are changes made in the website which would affect the layout of the website then it would cause Hummingbird to re-generate the minified content, so if there are older minified files served via 3rd party CDN it would throw a 404 error and can give an impression of the page is breaking.

    “The CDN cache is purged via API or via dashboard; it can be purged by the whole pull zone or specific URL’s.”

    The “Clear Cache” button under Hummingbird Pro > Asset Optimization should re-generate minified files. There isn’t any requirement to purge the cache from the CDN since the files minified will always vary each time it’s generated.

    So, probably the feature that could be suitable to improve compatibility between Hummingbird and Bunny; would be to be able to purge the Bunny CDN caching (whichever they use) directly from Hummingbird.

    As stated Hummingbird is indeed using Bunny CDN, the option to purge the CDN won’t be a concern due to how Hummingbird and its minification works.

    I’m checking with our Hummingbird team regarding what features are incorporated from Bunny CDN within Hummingbirds CDN, however, if I’m not wrong it should be utilizing all the features of Bunny CDN out of the box. Will keep you updated once I get further feedback.

    Kind Regards,
    Nithin

  • Le Bon Marché
    • New Recruit

    Hi there Nithin,

    Thank you for the clarification, and for all the deeper explanation.

    At the end of the day, what I would like is to use Hummingbird (which I love) and Bunny CDN at the same time. I would love for them to seamlessly work together and avoid any potential conflicts; on the easiest possible way.

    Regarding the technical aspects, I can’t really tell since I don’t have any clue on how either of those apps really work and in what ways they could potentially conflict when used together.

    If you inform me that Hummingbird CDN can provide all the same benefits as using the Bunny CDN service altogether, it would be even better, as I wouldn’t need to pay for an extra service for my website’s CDN needs. However, I don’t feel this is the case (please correct me if I’m wrong!).

    So, the only reason I’m sending you this message/request is to ensure that my website will run smoothly if I add Bunny CDN. My main goal is to make my website fast in different parts of the world, which is what a CDN is supposed to do in the first place.

    Again, thank you for everything, and I look forward to your reply!

    Best,

    Gonzalo Mongrut

  • Nithin Ramdas
    • Support Wizard

    Hi Gonzalo Mongrut ,

    I do understand you, however, at the moment there isn’t any such feature support out of the box. It’s something you can still give a try but as stated there are chances of noticing anomalies where the files can get served before they are minified due to how Hummingbird works. Clearing the cache on the 3rd party CDN side might help.

    The WPMU DEV CDN is specifically designed to handle assets, including JavaScript, CSS, and images, rather than functioning at the site or DNS level.

    While integrating it with third-party CDN services could potentially offer extra benefits, it’s important to note that comprehensive analyses of the behaviour with third-party CDNs have not been extensively carried out.

    We acknowledge the need for clarity on this matter and will undertake compatibility assessments to see if further details can be provided or not.

    Kind Regards,
    Nithin

  • Le Bon Marché
    • New Recruit

    Hi there Nithin,

    This is exactly the feature request that I was asking for from the beginning.

    Since, you don’t have any feature out of the box to make Hummingbird 100% compatible with Bunny CDN, then this would be great to have!

    Thank you for everything and have a great one!

    Kindly,

    Gonzalo Mongrut

  • Fida Al Hasan
    • Staff

    Hello Gonzalo Mongrut ,

    I hope you are doing well, and thank you for this feature request.

    We have already informed our developer about this feature request. They are aware of this request.
    If this feature request gets enough responses/votes, our developer may try to implement an integration between Bunny CDN and Hummingbird.

    I would suggest you try Bunny CDN and Hummingbird on your site. If you face any issues you can report it here. That may help us in the future in development.

    Kind Regards,
    Fida Al Hasan

  • Sarkis
    • New Recruit

    Hi Fida,

    We’d like to vote for this feature request as well.

    It sounds like Smush and Hummingbird already use Bunny’s CDN to serve images, JS and CSS files, but we still need Cloudflare to serve caching from different datacenters.

    Is it possible to fully integrate with Bunny’s CDN to serve caching from Bunny instead?

    Thank you!

    Sarkis

  • Luis Soriano
    • Staff

    Hi Sarkis

    Thanks for your interest in improving our products and services!

    About your question:

    Is it possible to fully integrate with Bunny’s CDN to serve caching from Bunny instead?

    I am afraid, this is not possible at this moment, however, I have added your comment as an extra vote for this feature so the team is aware of the request. Keep in mind implementing this feature needs to be explored first to make sure it is technically feasible with the current Hummingbird services/options. For now, it’s not planned for a particular release so can’t give you an ETA, please take into consideration this may required some significant amount of time to be developed and tested, so, further advances will depend on the initial evaluation.

    Thanks in advance for your feedback and kind regards

    Luis