Angular 18 SSR shows outdated data and doesn't update after UI changes

Discussão em 'Angular' iniciado por Nikolay, Abril 7, 2025.

  1. Nikolay

    Nikolay Guest

    I'm using Angular 18 with SSR for my application. In the production version, my main page that displays data from a table shows outdated information. Additionally, when I delete items via the UI, nothing updates.

    In the browser console, I get a 200 status code, but the initiator is marked as "Other." However, when the data is fetched correctly, the initiator is shown as polyfills-FFHMD2TL.js:2.

    I tried using TransferState to resolve the issue, but it didn't help. I suspect the problem is related to SSR or the configuration of my server.ts file. However, I'm using the default configuration that comes out of the box.

    The API itself works correctly and shows updates as expected.

    How to troubleshoot this?

    Continue reading...

Compartilhe esta Página