38,348 questions
0 votes
1 answer
43 views
DevExpress ASPxGridView reloads data on every group row expand - how to cache/prevent?
My DevExpress ASPxGridView reloads the entire dataset every time I expand a grouped row, causing performance issues. The LoadGeneralSearch() method fires on each expand, re-executing the SQL query. ...
0 votes
0 answers
20 views
Accessing fonts via etc.clientlibs have cache-control [closed]
While accessing fonts from etc.clientlibs cache-control header is added for 24 hrs in publisher, is it comes with OOTB? Please advise.
3 votes
1 answer
190 views
Why does sequential array access have a high cache miss rate?
I have the following C code that I am testing to understand perf and caching. It sequentially accesses an array of doubles. // test.c #include <stdio.h> #include <stdlib.h> #include <...
0 votes
0 answers
15 views
Swagger Caching Authentication parameters
I have an ASP.NET Core Web API. I am using Swagger, so when I run my app in debug mode, the Swagger page appears and I can test my endpoints. I also have authentication, and crucially, I'm ...
-4 votes
0 answers
61 views
How to get Firefox to save the images currently shown on a page [closed]
When saving a page in Firefox with Ctrl-S and choosing "Web Page, complete", it redownloads (some) images and, if they were changed in the meantime, it saves other images than the ones that ...
Advice
0 votes
1 replies
27 views
Cloudfront Cache policy headers vs Vary header
Why can we set which request headers should make up the cache key in a cloudfront distribution behaviour? If the origin responds with a Vary header, shouldn't the cache just use the headers in there ...
Best practices
0 votes
0 replies
23 views
Repository pattern + useAsyncData + Pinia store, hydration + caching problems?
We follow this article to write all our API calls https://medium.com/@luizzappa/nuxt-3-repository-pattern-organising-and-managing-your-calls-to-apis-with-typescript-acd563a4e046 so we can fetch a ...
-3 votes
0 answers
60 views
Why does Docker ignore my cache when I only change a single COPY command in the middle of the Dockerfile?
I have a Dockerfile that looks roughly like this Node.js example: FROM node:20-alpine AS base # Install dependencies (this layer is expensive) COPY package.json yarn.lock ./ RUN yarn install --frozen-...
1 vote
0 answers
56 views
typeorm cache automatically adds pagination suffix
In a nestjs application we have just started implementing typeorm db layer cache as per docs here - https://orkhan.gitbook.io/typeorm/docs/docs/query-builder/6-caching this is the only instance where ...
-1 votes
0 answers
35 views
Solr 9.9.0 getting slow when there is high load
I'm using Solr 9.9.0 and I recently increased the server RAM from 16 GB to 32 GB, as well as the JVM heap memory to 16 GB. The issue I'm facing is that under high load, both the Solr 9.9.0 UI ...
1 vote
0 answers
39 views
I have an ASP.NET Core application that uses Redis as cache but it is recently facing a lot of timeout exceptions
Redis has been recently facing a lot of timeout errors. We are currently using stackExchange.redis or managing Redis in the ASP.NET Core application. We have used async whenever possible with proper ...
Advice
0 votes
1 replies
78 views
How to effectively use ASP.NET core Hybrid Cache with Result<T> type
Suppose a scenario where: you need to execute an expensive operation which can fail or succeed. the result of the operation is modeled by using a result object Result<T>. The result object ...
1 vote
1 answer
51 views
How to prevent Azure front door caching a SPA index.html
I have an Azure front door (afd) with a route and rule set to serve a SPA, as is quite normal, I don't want the index.html cached but do want all the other files cached. I created a rule-set and rules ...
1 vote
0 answers
49 views
gem5 Cache Prefetcher Assertion Failure in sendMSHRQueuePacket: Prefetch Request Sent for an Existing Cache Line
I'm currently using gem5-dpdk (GitHub) with the following cache hierarchy setup: Using ARM version(O3 cpu), full system mode Simulating DPDK network application (e.g., MACSWAP) L1 Cache: no ...
1 vote
1 answer
196 views
How to benchmark atomic<int> vs atomic<size_t>?
I have a bounded queue with small size that definitely fit in int. So I want to use atomic<int> instead of atomic<size_t> for indexing/counter, since int is smaller it should be faster. ...