Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Preventing old version of integtation loading in browser

    Posted 02-19-2023 18:47
    No replies, thread closed.
    Hi All,
    We are developing a Client Application webapp embedded via iframe in the Genesys Cloud UI. Our front end app is served from an AWS S3 bucket and is accessed via CloudFront. The app is versioned and file names change with each deployment. In addition, we run CloudFront invalidation on all files with each deployment. We often see that after deployment, Genesys still loads the older version of the app and we use hard refresh to update the version. 
    Two questions:
    1. Does anyone else have a similar experience?
    2. Is there a workaround?
    Thank you.
    Irena

    #Integrations

    ------------------------------
    Irena Shemesh
    Attune Work Solutions
    ------------------------------


  • 2.  RE: Preventing old version of integtation loading in browser
    Best Answer

    Posted 02-20-2023 11:47
    No replies, thread closed.

    It sounds as though your local system is caching the app. As a test, can you set the "no-cache" headers on it? (Obviously, this could impact performance - that's why caching exists...) If that works, you have verified the actual issue.

    Now, as for fixing it - that same problem occurs whenever you have caching. Set the cache TTL to be less than the overnight closure time and then only deploy out of hours, would be my recommendation.

    A lot depends on how often / urgently you push these changes out.



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 3.  RE: Preventing old version of integtation loading in browser

    Posted 02-22-2023 14:35
    No replies, thread closed.

    Thank you Paul, we will make the checks you suggested.



    ------------------------------
    Irena Shemesh
    Attune Work Solutions
    ------------------------------