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,430
questions
2
votes
0
answers
31
views
How to Optimize Cache Line Read Access with Minimal Writer Cache Impact on x86?
I'm working with an x86 processor and need to read data that resides in another processor's cache line. I am coding in C++. The data is initially in an Exclusive (E) or Modified (M) state in the owner’...
1
vote
1
answer
21
views
Annotation @CachePut not working, but method .put does
I tried the annotation @CachePut in the method updateCategoryCacheForCountry and it wasn't working. But
when doing so programatically by getting the cache and using .put it works fine. What could be ...
0
votes
1
answer
12
views
Okhttp Caching requests depending of them url and headers values
I have couple requests that return different results depending of header value. I implement caching mechanism for them and its working fine for different urls but okhttp is probably take only urls (...
0
votes
0
answers
6
views
If cacheline is 128bytes or 256bytes that is longer than burst 64bytes.What happens to DDR?
Cacheline size usually is 64 bytes, DDR data line bit width is 64 bits and burst length is 8, a burst transaction is 64 bytes which is equal to cacheline size.
But if cacheline size is 128bytes or ...
2
votes
1
answer
44
views
Confusion about Caching with Decorators in Python
I'm working with Python decorators to implement caching for functions. I understand the basic concept of caching results to improve performance, but I'm struggling with how to handle different ...
1
vote
0
answers
19
views
Relationship between memory acceses and instructions in MIPS architecture
I'm currently studying computer architecture, following the Hennessy-Patterson books (Quantitative Approach 5 and Organizazion and Design 4), and I want to check if I'm understanding some cache ...
1
vote
0
answers
26
views
@event.listens_for() didnt work with endpoint
"I need to delete cache by key, which I could get from a remote object endpoint of FastAPI. In the documentation, I read that I can use event.listens_for with a parameter to track the table from ...
0
votes
0
answers
10
views
Issues with Fetching Data During Next.js Build and Using cache: "no-store"
I'm experiencing build errors in my Next.js application, and I'm hoping someone can help me understand and resolve the issues.
Error Details:
During the build process, I receive the following error:
...
1
vote
0
answers
52
views
Google Cloud CDN json resource ETag missing from response headers
The ETags are missing from the response headers. Currently, I am using Google Cloud CDN to deliver the resources from Google Cloud Storage (bucket). When the resource is read directly from the bucket, ...
0
votes
1
answer
45
views
Azure Pipeline Docker build fails to use cache while building
I'm encountering an error in my Azure Pipeline when trying to build a Docker image using cache from a previous build. Here's the relevant part of my pipeline YAML:
yaml
- task: Docker@2
inputs:
...
1
vote
1
answer
28
views
Not loading static(CSS,JS,BOOTATRAP) files after applying "Empty Cache and Hard Reload" [duplicate]
I am working on django website,i made some changes in jquery file and then apply "Empty Cache and Hard Reload" in browser ,but now all the static files are not reflecting in browser, before ...
0
votes
2
answers
30
views
How to cache the view result of a Spring JPA query
Given the following entity...
@Entity
@Getter
@Setter
public class OrderDTD {
private Long id;
...
private String orderType;
private String orderStatus;
... and the ...
-2
votes
0
answers
36
views
Storing data from API requests in PHP and mySQL [closed]
I'm developing a API a website for a tourism agency.
All the data (regions, hotels, room types) are populating the database using various APIs from different providers that my client has a B2B ...
0
votes
0
answers
15
views
How can I get the data fast from fireStore
I've a hotel booking website in which I have a /hotels-in-a-city page which is dynamic which get's list of all the hotels in a particular city through getServerSideProps() function and when I tap on a ...
0
votes
0
answers
20
views
nginx cache slice preloading
Is it possible to preload cache slices in parallel? I think this is maybe possible with some custom Lua module but I don't have any experience with it.
Context: an nginx reverse proxy is set up close ...