next-shared-cache icon indicating copy to clipboard operation
next-shared-cache copied to clipboard

Using redis-stack & lru makes static assets 404

Open bitttttten opened this issue 6 months ago • 15 comments

Brief Description of the Bug

When using

import createLruHandler from '@neshca/cache-handler/local-lru'
import createRedisHandler from '@neshca/cache-handler/redis-stack'

We see that our static assets like JS and CSS files sometimes 404.

Screenshot 2024-08-17 at 18 37 35

Screenshot 2024-08-17 at 18 36 03

So not all, but some.

Severity Maybe Major?

Frequency of Occurrence Always

Environment:

It happens on CircleCI and local on M3 and M1.

Dependencies and Versions [email protected] @neshca/[email protected]

Attempted Solutions or Workarounds None so far, we removed the package and continuing using our own redis cache handler.

Impact of the Bug Critical, we cannot get Next.JS assets loaded.

Additional context None, but happy to provide more!

bitttttten avatar Aug 17 '24 16:08 bitttttten