Cache Warmer

Comments

8 comments

  • Avatar
    Zoltan Hajdu

    Hi Lidor,

    i installed Cach Warmer plugin, but by the build steo occured the folowing error (sorry I can't atach hardcopy): Can't find Variable: prism' caused by Request => {"headers"Accept....

    Can You please help me? Cach Warmer is very importan for me.

    Many Thanks:

    Zoltán

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Conor Hennessy

    Hi,

    Cachewarmer plugin does not execute successfully,

    I am testing out this plugin, it gives error "Object reference not set to instance of the object"

    Initally got error: Can't find Variable: prism' caused by Request => {"headers"Accept....

    Please assist.

    Conor

    0
    Comment actions Permalink
  • Avatar
    Oxana Noa Umansky

    Hi Conor and Zolton,

    Let us look into that and get back to you asap.  

    0
    Comment actions Permalink
  • Avatar
    Conor Hennessy

    Hi,

     

    I already found a different way of warming the cache by adapting the script in this:

    https://support.sisense.com/hc/en-us/articles/230649468-Schedule-Download-And-Email-of-Dashboards-in-PDF-PNG-Format

    Conor

    0
    Comment actions Permalink
  • Avatar
    Korey Martin

    Hi Conor,

    Can I ask what you did with the above script to warm the cache?

    We have a few other community members that are looking to do this and would love to know your workaround using the python you referenced. 

     

    Thank you,

    Korey M.

    0
    Comment actions Permalink
  • Avatar
    Conor Hennessy

    Hi,

    Apologies for the delay, this works on 6.7.1:

    I adjusted the script to get all dashboards of an admin user (would work for any user) and cycle through each one with export to PDF procedure which warms the cache. I discard the pdf and removed the email part as not required. I also moved some variables to different file so it can be easily setup of multiple servers (just change the variables). It runs under task scheduler but could also be added as post build script.

    There are some extra steps to configure on the server deafult.yaml file (C:\Program Files\Sisense\PrismWeb\vnext\config) if your server is https/ssl enabled:

    1. Under WebServer set secure and EnableSSL as true

    2.In exporting insert your host name, port (usually 443), and protocol to https 

    Note: this config may get overwritten if you upgrade to new version or run repair so check it afterwards.

    Conor

     

     

     

    1
    Comment actions Permalink
  • Avatar
    Michael Becker

    Hi Oxana,

    any news on the error described in the comments? I'm getting the same. Thanks!

     

    Regards,

    Michał

    0
    Comment actions Permalink
  • Avatar
    Denis Malenfant

    I'm also getting Object reference not set to an instance of an object. with SiSense V. 7.3.0.10434

    0
    Comment actions Permalink

Please sign in to leave a comment.