Categories
Cloud General NiHao Cloud Documentation Products Storage Tools & HowTo

Serve media using NiHao Cloud

Visuals and media content are much more important for the overall impression of applications. We prefer visuals over textual content. There is no meaning of visuals if they’re not of high quality. With the emergence of cloud environments, we have found a way of effectively storing the data. But the question lies on how to deliver that media to clients. Let’s see how we can leverage Sesame Disk by NiHao Cloud to enhance the performance.

Design and develop
credits

What’s the use case?

Suppose you’re running a website that obviously has high-quality images and probably videos. Rather than storing all content on the webserver and chokes its performance, store all files in a cloud provider and enable public visibility. Nowadays, object storage provides allows publicly accessible links so we can simply paste those links in our web content load in the runtime.

You landed the Cloud Storage of the future internet. Cloud Storage Services Sesame Disk by NiHao Cloud

Use it NOW and forever!

Support the growth of a Team File sharing system that works for people in China, USA, Europe, APAC and everywhere else.

High-level benefits of this setup:

  • Enhances webserver performance because we’re not actually storing any media in it.
  • No worries regarding managing the media on our own as a cloud provider will maintain.
  • Furthermore, we can set CDN for those objects to ensure faster delivery.

Demonstration:

Find below a simple code where one webpage is having an image in it. Basically, the image is stored in the NiHao cloud systems and a link for public access is generated and fed in the code. Click on share in the NiHao cloud console and generate a link. The link will look something like this:

https://app.nihaocloud.com/f/04&%5f64231#$%#!!#/?dl=1
Simple code for the website
code

This is as simple as it looks.! Whenever someone will hit your website, the textual and media content will be loaded simultaneously and will look seamless process.

Website showing image called from NiHao cloud
output

Such setup helps a lot for larger and complex environments and makes the process way more sufficient to manage. And the end-user will also get enhanced performance if CDN is integrated. Sesame Disk offers CDN service by default to ensure clients get the best possible response always. Do read article on lazy loading content which is very much related to article above!

By Poojan Mehta

Poojan Mehta lives in Gujrat, India, and pursuing a bachelor's degree in computer science. He has extensive experience in the software industry. As a technical enthusiast, he has been involved in various roles that include public cloud administration, database administration with SQL Server, web and mobile app development, DevOps work, technical writing, and mentoring. He is proficient in various operating systems, including Red Hat Linux and Windows. He is especially keen on developing new systems with emerging technologies.

One reply on “Serve media using NiHao Cloud”

Start Sharing and Storing Files for Free

You can also get your own Unlimited Cloud Storage on our pay as you go product.
Other cool features include: up to 100GB size for each file.
Speed all over the world. Reliability with 3 copies of every file you upload. Snapshot for point in time recovery.
Collaborate with web office and send files to colleagues everywhere; in China & APAC, USA, Europe...
Tear prices for costs saving and more much more...
Create a Free Account Products Pricing Page