Questions tagged [caching]
A cache is a mechanism for temporarily storing (caching) data locally in order to reduce access time to data stored far away. For CPU/disk/web browsing please use relevant tags (cpu-cache, diskcache,...)
caching
38,414
questions
0
votes
1
answer
19
views
Firestore snapshot realtime paging
currently i'm working on a Chat project using ReactJS and Firestore. Let say that i have a subcollection messages which contains multiple docs of message. I have a onSnapshot listener to listen newest ...
0
votes
0
answers
29
views
Can you have multiple copies of same data in cpu cache
From wikipedia https://en.wikipedia.org/wiki/Cache_coherence
Multiple copies of same data can exist in different cache simultaneously and if processors are allowed to update their own copies freely, ...
0
votes
0
answers
19
views
Angular CacheStorage not storing Response as expected when converted from HttpResponse
In Angular 15 I'm implementing Client-Side caching through the CacheStorage interface.
I convert back and forth between HttpResponse and fetch interface's Response type when storing responses in ...
0
votes
2
answers
57
views
Can false sharing happen in Direct-Mapped Cache?
If each address in memory is directly mapped to deterministic location in cache, cache coherence is not needed because all thread that access share data share the same cache.
Ie. Within the context of ...
0
votes
1
answer
11
views
docker buildx does not trigger cache invalidation
Using docker: v27
Using docker buildx plugin: v0.16
It seems that the build cache invalidation is not happening @ a layer where a specific build arg is used to determine an environment variable.
...
0
votes
0
answers
32
views
While running a piece of driver code on an AMD64 machine, it appears that there are issues related to cache consistency or out-of-order execution
While running a piece of driver code on an AMD64 machine, it appears that there are issues related to cache consistency or out-of-order execution. Are there any experienced engineers who can help ...
0
votes
0
answers
15
views
NextJS 14 App Router, cache dynamic ...slug pages with revalidate, but cache miss
I have a setup using NextJS 14 App Router with Storyblok CMS to fetch content. Therefore I do not have any particular folder structure setup, but instead use the following setup:
- app
- layout.tsx (...
-4
votes
0
answers
23
views
Next.js 14 Cache CANNOT BE DISABLED ... NO MATTER WHAT ... IS THIS A BUG?
next.js caching cannot be disabled ... I've used:
export const dynamic = 'force-dynamic' ... no luck
revalidate: 0 ... no luck
cache: 'no-store' ... no luck
all combined ... no luck
and then this ...
2
votes
1
answer
40
views
Issue with JDBC_PING after I updated keycloak version from 19 to 25
I'm using JDBC-PING discovery for distributed caching in my Keycloak container in AWS ECS. Recently I have updated the Keycloak version from 19 to 25. All the things are working perfectly, except for ...
0
votes
0
answers
36
views
RSC content instead of HTML in Next.js app
I have a Next.js 14 website (using app router), hosted on Azure, and supported by Imperva CDN with a cache mechanism. All website pages are static using generateStaticParams.
The website's pages are ...
0
votes
1
answer
18
views
Cache deletion and refreshing data race
I'm starting to learn about caching and have thought of the following problem, and really only see one way to solve it but I'm sure I am missing something
Lets image that I have two endpoints, one for ...
1
vote
0
answers
39
views
Dependency Injection caching of AutoMapper causes 500 error when mapping two different classes containing the same shared class
We have a C# web service using AutoMapper and Dependency Injection.
One controller contains two different calls, call A and call B.
Both calls have unique dto and resource classes that get mapped from ...
0
votes
0
answers
20
views
Speed up external API call
I need to transform a large set of data, that I get calling an external API. This data contains a lot of urls, and I need to parse them in a certain way and return them.
But the problem is that the ...
0
votes
1
answer
17
views
Is there something that caches deleted files for a period of time on the drive? [closed]
I am having problems determining the creation time of a file.
When I copy a file from one folder to another and delete the original file, the copy gets a new created date. If I copy the copy back to ...
2
votes
1
answer
40
views
Why does my component's values not change even when i am re-rendering the same component but with different values? Could it be due to Nextjs caching?
I am not sure if i explained it properly on the title but here is an explanation.
I am creating a habit tracker, this habit tracker allows users to create their own habits which gets stored in a ...