How does the cache work?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I think I am confused on how the cache works.

It was my understanding that it locally cached information so that if the internet goes down, your screens do not. You won't be able to update content, but it will still display the cached content.

Our internet went down today and while 2 of my displays stayed running, 3 went down.

1 I totally understand, it's all iFrames pulling off a web server. No internet, no content.

But the other 2 are using the Google Spreadsheet Gadget. The internet went down at around 5am this morning, the displays get re-started at 3am per the RV setting. So the menu should have been working from 3-5am before the internet went down.

Should the cache not have been used until the internet came back? The displays were showing the 'Cannot connect to server: retrying in...' message.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
  • confuzzled

Posted 4 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Kray,

Videos and images are cached, however only videos are persistent across a reboot. I will double check on other content with a co-worker and get back to you.

Thanks!
Photo of Sanjay Kaler

Sanjay Kaler

  • 1,472 Points 1k badge 2x thumb
My understanding is that all static content including videos (direct URLs, not from streaming websites like YouTube or Vimeo) are cached on first run. If any content or widget depend on regular internet connection, then it won't work.

Google Spreadsheet quite possible pings server to check latest content.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
Ugh. Is there any way to cache Spreadsheet and other Gadget content?

There are way to many issues with wireless and wired networks in general. If we switch everything to digital and the internet goes down for 30mins and it's not cached, then there goes the entire menu system for our Cafe and major losses could be accrued (We average $1500-$5000 during 12-1pm).

That would be a feature I would expect in Enterprise software. Enterprises require high availability. I was under the impression that our information would be cached, per this page. 

"Images and SWF files as well as most Gadget content are cached in the running instance of the browser, not in the Rise Cache. If the internet is disconnected, this content will continue to play as long as it’s been successfully downloaded when the browser starts."

If Spreadsheet data isn't part of 'most Gadget content' then what is?
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Kray,

I have confirmed with development and done some in house testing with the google spreadsheet widget.

In the event of a network outage Rise Player will continue to show cached content (in this case whatever the google spreadsheet widget is displaying), until Rise Player or the media player is restarted. Keep in mind that this cache is not persistent across reboots and the player will always need to call back to the platform through the internet in order to display content.

The google spreadsheet widget does check for new content every 5 minutes (minimum), however this does not affect the content that is currently cached.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
I will do some more testing this week as the menus were not restarted during the outage (Only at the daily 3am restart).

My only guess is that Chrome crashed causing the player to restart and clearing the cache.