ULOG 154 - Steem Telly performance optimisations


The latest updates are more on performance optimisations of Steem Telly app. The video details and audio details views were slow to load due to multiple calls to the Steem API to retrieve related content. So instead of making those API calls before rendering the view, I'm rendering it first and then make asynchronous API calls making it look snappier.

A second optimisation is resizing the thumbnails on the fly and caching them on CloudFlare CDN. I noticed that although some thumbnails are so small that they look ugly on a TV screen, some are so big that it takes long to load and display them. So what I did is setup a little script on steemtelly.com that downloads the images, resize them and get them cached for future re-use. One thing I learn from this is that you better not use the "Take Snap" functionality of D.Tube because the resulting image is too small. However, if you choose to upload your own image, don't upload a 2MB file either, take time to use an app like Canva for example to make your thumbnail look better and at the correct size.

Last change that is still in progress is fixing an issue where some content on DSound are not playing at all. For example, I wanted to listen to @melissakellie's latest sound but it didn't work... After some tests, I realised that the Apple TV could not detect the file was an MP3 because there is no file extension and the Content Type reported by IPFS was wrong. So I will attempt to create a script that also caches MP3 files from IPFS but also correct the Content Type header.


Previously on my Ulog:


Vote for my witness
On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the communities.


I'm a member ofthese communities
Team Australia BannerTeam Vietnam banner
Steemit French community bannerHomesteaders Online
Member of the SmartVote communityMinnow Support Project
Earth TribeNatural-Medicine.jpg
@quochuy ulogger on steemit.comghscollective_logo_01_1.png

Credits

  • The image at the top has been generated with the Canva app using my own photo.

Protect your money against Phishing Scam!

Cryptos accounts are the target of international scammers because they want your hard earned money!

Those people are very clever and in a moment of inattention, you've given them your login and password!

I've created a Chrome extension that can help you detecting scam links!

Install Steemed Phish Chrome desktop browser extension now!

Password and Private Keys security

You all know that your Steem password is the access to all your STEEM, SBD, posting, transferring, everything... right?
So, please, follow these simple steps and keep yourself safe:

  1. Apart from the initial setup of your account, NEVER use your password ANYWHERE, if stolen, it will give full control to your Steem account.
  2. Backup your password and keep it somewhere safe. Use a password manager like Lastpass, print it on paper and put it in a safe (no kidding). If you forget your password, no one can help you out.
  3. To login for creating content and curating, use your Private Posting Key
  4. To make transfers and account operations, use your Private Active Key
  5. To encrypt and decrypt memos, use your Private Memo Key

▶️ DTube
▶️ IPFS
H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
10 Comments