Web Page Widget and Rotating Dashboards

Comments

5 comments

  • Avatar
    Robb Price

    Hi there Patrick!

    Instead of using the Web Page Widget, have you considered using the URL item in a Schedule to see if that behaves better?

    0
    Comment actions Permalink
  • Avatar
    Patrick Nordstrom

    Yes, per my original post:

     

    "I found that if I simply put the dashboard URLs in the playlist itself by adding a URL playlist item instead of a Presentation, the desired effect occurs.  That is, when using a URL as a playlist item it seems like the dashboard is loaded the first time, but every time after that it does not go through the long load time.  I'm wondering if Rise Vision is actually generating a rasterized image of the URL on the first load and then simply using that for every subsequent load when using a URL as a playlist item on a schedule.  Does anybody know?"

     

    The problem with using the URL is that it seems like once the web page loads one time in the schedule it is never refreshed again. This is why I was wondering if using the URL in the schedule was actually converting the page to a rasterized image to cache it.   

    0
    Comment actions Permalink
  • Avatar
    Robb Price

    Ah, my apologies, I missed that part.

    I confirmed with a member of our Dev team, that it is not a rasterized image, and instead it does not refresh that URL item automatically.

    I hope that helps!

     

    0
    Comment actions Permalink
  • Avatar
    Patrick Nordstrom

    OK so is there any recommended pattern or configuration that would do the following:

    1.  Have a playlist that points at 5 URLs that rotate in 60 second intervals.

    2.  On the first play through the playlist the URLs are loaded and then cached for future loops through the playlist.  In this example this would mean:

    • [1st 60s]     00:00 --> 01:00: URL 1 is loaded from source web server, is cached, and displayed
    • [2nd 60s]    00:01 --> 02:00: URL 2 is loaded from source web server, is cached, and displayed
    • ....
    • [5th 60s]     00:04 --> 05:00: URL 5 is loaded from source web server, is cached, and displayed

    3.  On the second play through the playlist, and up to a certain time (like 60 minutes) the URLs don't need to be loaded again, just displayed because they are already cached:

    • [6th 60s]    00:05 --> 06:00:  URL 1 is displayed from cache
    • [7th 60s]    00:06 --> 07:00:  URL 2 is displayed from cache
    • ...
    • [60th 60s]  00:59 --> 1:00:00:  URL 5 is loaded from cache

    4.  After some time frame (60 minutes in this example) the playlist will force all URLs to refresh from source instead of displaying from cache

    • [61st 60s]   1:00:00 --> 1:01:00: URL 1 is loaded from source web server, is cached, and displayed 
    • [62nd 60s]  1:01:00 --> 1:02:00: URL 2 is loaded from source web server, is cached, and displayed
    • ...

    Thus each cycle of 60 minutes in this example loads and caches all URLs on the first play through the playlist but then only loads cache for the rest of the play throughs the playlist until the 60 minutes is up and then repeats this process of reloading URLs from source, caching for a time period, then refreshing after the time period expires.

     

    I have not found a setup out-of-the-box in Rise Vision that does this, but looking for advice if anyone has done this without custom developing something.

    0
    Comment actions Permalink
  • Avatar
    Robb Price

    Patrick,

    I'm not 100% sure if this would work in this scenario, but could the pages that you want to refresh automatically have this HTML meta tag "refresh" added?: https://www.w3schools.com/tags/att_meta_http_equiv.asp

    I've never tested it in this scenario, but I did some Googling, and found that.

    Thanks!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.