Pudl0 / westerloy

0 stars 0 forks source link

38 migrate to nextjs v14 to prevent caching in eventdashboard #39

Closed Luminagitur closed 8 months ago

Luminagitur commented 8 months ago

For any further description of this caching problem, have a look at the issue, see #38.

TLDR; Look at the server-side and static symbol. In the first you will see that the /eventdashboard is statically rendered (so all data will get loaded at buildtime), while in the second you will see that the symbol changed to server-side, which basically means that the server renders the page at runtime. So any changes to the events in the EventDashboard will be shown dynamically.

BROKEN (With default caching)

image

FIXED (Without default caching)

image