Hello,

This may not be the place to ask this, but has anyone had the issue of pages that are proxied through Caddy not “auto-refreshing”?

For example, I use glances (similar to HTOP) to monitor my unraid server, and when it is reverse proxied I need to force a ctrl-F5 to see updates. When using the local IP, it updates every few seconds as normal.

Is there a setting I need to change to allow Caddy to do auto-refreshing?

  • Zoë@lemmy.mlM
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Please do add a tag to your post as stated on the sublemmy sidebar! Thank you. :)

      • D4NM3D@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Are you able to point me to where i can find the cache options? I’m also new to Caddy and want to make sure i’m not making any silly mistakes.

        • notdeadyet@lemmy.notdead.netOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          This line here was my problem:

          Cache-Control "public,max-age=86400,s-maxage=86400,max-stale=3600,stale-while-revalidate=86400,stal>
          }
          

          If you want cache control you can just lower the values, I chose to just remove the setting altogether and the problem was solved.