Blog

tags: news software php deutsch opensource webdesign


09.Feb.2016 22:39 - last update: 31.Jan.2017 21:56

cbPlayer v0.11 erschienen

Aufgrund der mitunter extrem langen Verarbeitungszeiten von mehreren Mediendateien, besonders bei Videos, gibt es nun eine neue Version des web-basierten Medienspielers cbPlayer.

Technisches

Um nicht bei jedem Aufruf alle Mediendateien neu einlesen zu müssen, werden die Metadaten jetzt in eine Datei geschrieben. So wird nun bei jedem Aufruf geprüft, ob für jede Datei ein Datensatz vorhanden ist, ob zu jedem Datensatz eine Datei existiert, und ob sich die mtime-Zeitstempel geändert haben. Letztere werden in einer zusätzlichen Datei gespeichert. Ist alles so wie vorher, wird nur die Cache-Datei eingelesen, hat sich irgendetwas verändert, wird der Cache neu aufgebaut. Was für dieses eine Mal natürlich wieder eine massive Bearbeitungszeit mit sich bringt, was ich aber für vertretbar halte, da sich ja auf einer "durchschnittlichen" Homepage nicht alle naselang der Inhalt ändert.

Der Geschwindigkeitsgewinn beläuft sich auf ca. 15 Sekunden ungecached auf 0.07 Sekunden gecached! Diese Werte schwanken stark, je nach größe der Playlist, Größe der Dateien, Last des Servers und so weiter...

Download

Zu finden ist der cbPlayer nach wie vor bei Github: https://github.com/chris-blues/cbPlayer

Feedback und Kollaboration erwünscht! :o)

So siehts aus


Ladezeit beim Cache-Rebuild


Ladezeit mit Cache




comments

post a comment








😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯😰😱😲😳😴😵😶😷🙁🙂🙃🙄🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🤐🤑🤒🤓🤔🤕🤖🤗🤘🤠🤡🤢🤣🤤🤥🤦🤧👍𝄞🌍🌹🍻🍾

privacy declaration

Your IP-address, useragent-string etc are not stored by this blog-software. Still, it is possible that the hoster of this website may store data like this. But that is beyond the scope of this blog-software. Check out this website's privacy declaration to find out more about that!

This blog-software generally doesn't store any information about you. Only if you post a comment, some data will have to be stored. You don't have to input any personal information here. Except for the comment itself, all fields are optional!
If you don't want to tells us your name, that's fine. It will be shown as 'anonymous'.
If you want to receive notifications on following comments, naturally you'll have to give us your email address. It will be stored and not be shared with anybody. If you don't want to be notified, just leave the notifications field empty.
If you want your name to be linked to your website, you'll have to give us your site's address. Otherwise leave this field empty.

This data will be stored in case you decide to post a comment here:

  • time and date of your post
  • your name (if supplied)
  • your email (if supplied)
  • your website (if supplied)
  • your comment
  • some technical information unrelated to you, like which blogpost this comment belongs to and a unique id for this comment