Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mario Lopez 168 posts 958 karma points MVP 4x c-trib
    Feb 10, 2020 @ 06:07
    Mario Lopez
    0

    Hangfire not updating cache in load balanced environment

    We have a few jobs importing data into Umbraco. For some reason the updated data is updated in the Master cache but not in the Slaves.

    I reckon it's because we are using a faked httpcontext to update the data.

    If we republish the content in the slaves the cache updated properly.

    Any ideas?

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Feb 10, 2020 @ 08:52
    Søren Gregersen
    100

    Hi,

    When you re-publish, umbraco sounds out cache-refresh-events. You should just re-publish the updated content, via the content service.

Please Sign in or register to post replies

Write your reply to:

Draft