Channel Cache

I use a script to upload a .jpg file to a web server. The picture shows the current status of my TeamSpeak server, for example, when someone connects or disconnects.

In TeamSpeak, I add the picture in a channel description using BB code. But there’s a problem:
When TeamSpeak is the main window (in the foreground), it shows the old picture.
But if I switch to my browser (so TeamSpeak is in the background), then I see the new, updated picture.

I’ve forwarded this internally to review.

How often does the image update? Is it after leaving the view and reentering the view or only after reconnect?

2 Likes

When I leave the view, I see the updated picture. But when I switch back to the Teamspeak window, it goes back to the old, outdated picture. Reconnecting doesn’t change this. Only closing the Teamspeak client and opening it again.

Could you provide the link to the image so we can further test this out?

2 Likes

The picture Gets updated every full hour. 15.00 - 16.00 - 17.00 ……

http://bannerpanel.duckdns.org/aktuelletopten.jpg

1 Like

You need to add a version suffix to your image URL if you want it to update properly or you need to set it directly in TeamSpeak.

For example:
http://bannerpanel.duckdns.org/aktuelletopten.jpg?v=%timestamp%

So you also need a bot that edits the channel for you, to update the version timestamp in the image URL otherwise TeamSpeak might cache the old image.

1 Like