-
-
Notifications
You must be signed in to change notification settings - Fork 204
The request was not cached with FileSystemCacheHandler #1690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, This is the function that converts your route to filename and it only supports path params.
|
I've same issue regarding the cache handling, please take a look here, thanks. |
Hello @smartsuhani |
@eneajaho I add a commit to handle this one as well. Basically it just convert ? to "++" , we can use anything we like actually. |
Description
when i use FileSystemCacheHandler and i want to cache a page with path like : /offre-emploi?salary=true.
I have an error Error: 💥 The request was not cached!
It work with simple path like : /offre-emploi but not with query param.
I try to use the default CacheHandler, and it work well.
const fsCacheHandler = new FileSystemCacheHandler({
cacheFolderPath: join(serverDistFolder, '/cache'),
Expected
the page /offre-emploi?salary=true. must be cached like in InMemoryCacheHandler
Environment
SSR
Node: 20.9.0
Npm: 10.1.0
Angular: 17.0.3
Angular CLI: 17.0.1
Related to Other Issues
Tasks to Resolve This
Notes
The text was updated successfully, but these errors were encountered: