Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
0 answers
96 views

I'm working on a project using Redux Toolkit (RTK) Query to manage multiple API endpoints, where each API slice is constructed dynamically through a function. My goal is to maintain a dynamic approach ...
Andishe Abbasian's user avatar
1 vote
1 answer
204 views

We're using Redis for caching in our .NET 8 APIs (Azure Redis for some, Enterprise Redis for others). Certain API endpoints take query string parameters, and these parameters are factored into the ...
pikkabird's user avatar
  • 147
1 vote
0 answers
571 views

It still invalidates the cache on the server side(so on forced refresh it is shown), but doesn't invalidate the cache on my ssr rendered pages/layouts. This causes my users to be stuck and see stale ...
Yonatan Lavy's user avatar
0 votes
1 answer
126 views

If the amount of invalidations you've created exceed 1,000, CloudFront begins to charge one money for each subsequent invalidation. Does your invalidation count reset each month, or does it continue ...
Jorge Velasquez's user avatar
0 votes
1 answer
63 views

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 ...
JackG's user avatar
  • 73
0 votes
0 answers
74 views

In Angular+TS, using RXJS observable patterns, and wanting services to avoid explicit subscriptions or opinionated piping operators. Say that we have a file appointments-api.service.ts, with functions ...
Jake Lindvall's user avatar
1 vote
0 answers
365 views

Tanstacks react-query allows to use a cache with the initalData option. But it will still query the data initially. In a scenario where you want to save queries to the server, by loading all your data ...
SeDav's user avatar
  • 781
0 votes
1 answer
590 views

I have an application, in Laravel 10, which allows voting for candidates and shows a list of these candidates sorted by votes. That list of candidates is fetched from database, calculated a bit, and ...
Lothid's user avatar
  • 1
3 votes
3 answers
2k views

I have a simple load balancer setup in GCP with two routing rules, /api/* which redirect requests to the backend service (managed by cloud Run) /* which redirects all other requests to a static ...
Saif's user avatar
  • 1,915
1 vote
2 answers
1k views

I have a file named sdk.js. This file name is not versioned or hashed in any way because we don't control the sites where it is embedded so the name must remain consistent. The browser should cache ...
Andrew Eames's user avatar
2 votes
2 answers
3k views

I would like to know at what point in time a given Cloudfront invalidation has been completed. When browsing invalidations in AWS Console, I can only see Date created timestamp, as per attached image. ...
Jakub Kvba's user avatar
1 vote
0 answers
231 views

I am trying to execute this riscv assembly code but I keep getting the error :Invalid language element This is the code part that error happend. (last row) main: addi sp,sp,-32 sw ...
Oshan Madawa's user avatar
0 votes
1 answer
1k views

For a counter I am polling the backend periodically with react-query using the refetchInterval option: const { items } = useQuery( ["queryKey"], requestFn, { refetchInterval: 5000, ...
cachius's user avatar
  • 2,015
1 vote
1 answer
927 views

Trying to invalidate an AWS cloudfront path that contains a tilde ~ character results in an invalid argument error. A tilde is a valid URL character, and invoking things like encodeURI or ...
danludwig's user avatar
  • 47.3k
1 vote
1 answer
834 views

Service1 -> Our Wrapper API service -> Redis Service2 -> Our Wrapper API service -> Redis Client side caching with Redis is very useful. Redis provides server push-based cache ...
Alok Kumar Singh's user avatar
1 vote
0 answers
259 views

Looking at Arm as an example, it has hardware support for automatic cache invalidation as explained in this URL: https://developer.arm.com/documentation/den0024/a/Multi-core-processors/Multi-core-...
Dan's user avatar
  • 3,068
0 votes
3 answers
10k views

I have a simple app that has a form and list. Currently, I am using query client.InvalidateQueries to update the users' list after submitting the form. As the documentation says, using InvalidateQuery ...
Wilmer Demata's user avatar
1 vote
2 answers
941 views

Suppose that a cache line with variable X is simultaneously uploaded to L1d of CPU0 and L1d of CPU1. After changing the value of X from CPU0, when CPU1's L1d cache line is invalidated, Is it ...
whitebear's user avatar
1 vote
1 answer
661 views

We have a two active/active node Wildfly 19 cluster configuration with infinispan (v 9.4.18) invalidation cache. <invalidation-cache name="opencell-tenant-cache"> <transaction ...
Andrius's user avatar
  • 51
4 votes
2 answers
3k views

I am using s3 bucket as origin in cloudfront to cache and host my reactjs website. After every deployment on s3 i want to invalidate the cache of my cloudfront distribution so that the user can get ...
Murtaza Hussain's user avatar
0 votes
0 answers
147 views

Below is request url which contains query string param, that I have successfully cached using CDN. But I am unable to purge the request url or invalidate it from cache. url - /search/name?parent=true&...
SJain's user avatar
  • 1
0 votes
1 answer
789 views

I have a react app installed in AWS s3. And I am serving the content using AWS CloudFront. I have made some changes in the app and did invalidation in the CloudFront. It is serving updated content in ...
PRASANTH BATTULA's user avatar
3 votes
1 answer
386 views

Introduction I am building a caching system where each node of the cache may call any number of SQL queries from a predefined, finite, set of SQL queries with 0-n parameters. Based on the result of ...
Nicolas Keller's user avatar
0 votes
2 answers
247 views

We are looking to implement a redis based cache for read heavy data for fronting our database as a read through cache. I would like to implement a better invalidation mechanism than just TTL or LRU ...
Osada Lakmal's user avatar
3 votes
1 answer
3k views

User having the Cloud Front Policy { "Statement": [ { "Effect": "Allow", "Action": "s3:*", "Resource": "arn:...
Ajay Naik's user avatar
  • 181
3 votes
1 answer
5k views

I would like to invalidate a folder (and the subfolders) in the s3 bucket in node js. This is the script I am using at the moment: var clearCloudfrontCache = function() { console.log("...
tomi köhler's user avatar
18 votes
0 answers
8k views

I need to clear the cache for one file in Chrome. I was setting up loading a font from my own CDN, and added the cache-control: public, max-age=31536000, immutable header. However, I did not setup ...
Nick's user avatar
  • 6,600
1 vote
0 answers
1k views

I am looking to speed up the loading and processing of large binary files using code I have written. The code works however it is slow. I want to make improvements, but whenever I load the files a ...
agol's user avatar
  • 11
4 votes
2 answers
158 views

I need to implement pull to refresh in an iOS app, and I came across this thing, in where I don't know how to approach the problem with the best practices of DDD. The presentation layer has an event ...
Nicolas Frugoni's user avatar
1 vote
1 answer
4k views

I´m running into a problem where using the @CacheInvalidate annotation is not enough anymore. One method has to erase two different caches, one of them uses two of the given arguments and the other ...
Marian Klühspies's user avatar
0 votes
1 answer
619 views

I am using Hibernate 5.4.22 with Infinispan 11.0.4 in a cluster environment. Hibernate second level cache is configured to use the JCache provider: hbProps.setProperty("hibernate.cache....
George Papadopoulos's user avatar
0 votes
1 answer
644 views

Is there anyway to distinguish which database an invalidation applies to? example: Tracking socket: CLIENT ID // 77 PSUBSCRIBE __redis__:* Main socket: CLIENT TRACKING on REDIRECT 77 OPTIN SELECT 1 ...
MerlinTheMagic's user avatar
2 votes
1 answer
940 views

I'm trying to do a hard thing: implementing cache invalidation with Symfony 4.4.13 using FOSHttpCacheBundle 2.9.0 and built-in Symfony reverse proxy. Unfortunately, I can't use other caching solution (...
Steve's user avatar
  • 31
5 votes
1 answer
562 views

I'm developing an app in React that does encryption on the client-side and sends the encrypted content back to the server for secure storage (e.g. think of online-wallets). This works well since the ...
Muppet's user avatar
  • 6,037
0 votes
1 answer
956 views

I would like to invalidate IntelliJ's cache without deleting files local history. It exists something to do this? I can't find anything online.
Lore's user avatar
  • 2,082
0 votes
0 answers
335 views

I have a standard scenario where you have multiple parallel requests trying to access the same key in Redis based cache. When this key is expired the requesting process notifies some external worker ...
evodevo's user avatar
  • 509
0 votes
1 answer
144 views

Lets assume I have setup s3 bucket, and Cloudfront distrib. pointing to it. There is a CSS File and I am able to do get request on the CSS via Cloudfront. Now If make updates to CSS and upload to s3 ...
indianwebdevil's user avatar
0 votes
1 answer
2k views

I'm sure this is a duplicate but I can't find the question after scouring the internet. So if this is a duplicate, please just point me to the right one. Question: How can I get entity framework to ...
Ian Kirkpatrick's user avatar
0 votes
1 answer
850 views

First I want to say Hello to all, second I am very scared since I just got a new job and one of my tasks is something I have never done before in my life. In this case the task I am assigned to is to ...
Vasil Garou's user avatar
2 votes
2 answers
495 views

I want to invalidate some locally generated cache every time file is modified. Invalidation would happen on running manually some command-line tool (no live watch required) My approach would be to: ...
zduny's user avatar
  • 2,541
1 vote
1 answer
4k views

An excerpt from Wiki on Cache invalidation - "Cache invalidation is a process in a computer system whereby entries in a cache are replaced or removed." But, why on earth do we need to invalidate Cache?...
Praveen Nvs's user avatar
1 vote
1 answer
2k views

I see a lot of answers about forcing cache reload recommending a solution that incorporates the HTML page itself. But when you have a situation where your old website was written as an index.html ...
Digital Ninja's user avatar
6 votes
1 answer
1k views

I'm having some weird issues with my custom Dockerfile, compiling a .Net core app in alpine containers. I've tried numerous different configurations to no avail - cache is ALWAYS invalidated when I ...
Spikeh's user avatar
  • 3,745
1 vote
2 answers
3k views

When I explicitly set a permission for a user in the database by running a SQL update script, the particular permission with the latest grant is not reflecting in the system. However when I recycle ...
Fanie Reynders's user avatar
0 votes
1 answer
2k views

I'm trying to find a product like Varnish that can give me the possibility to handle grafecul invalidation on cache, which basically is the ability to guarantee cache time to the client because when a ...
user avatar
0 votes
1 answer
2k views

I've been searching in the docs of infinispan but couldn't find out an easy way to refresh the expiration time of an entry after a get automatically. Today I'm registering a Listener and, inside the @...
Allan Vital's user avatar
9 votes
1 answer
29k views

There is a popular question on how to force-clear the cache of the browser in a VanillaJS application, with the general consensus being, setting the name of the .js-script or the scripts arguments to ...
Phil's user avatar
  • 7,712
1 vote
1 answer
2k views

I want to use redis as cache for mysql, and the main idea is: Query read from redis if not exist, read from mysql, and add to redis cache Add write to mysql directly Update&Delete write to mysql ...
Jimmy Guo's user avatar
  • 1,322
1 vote
0 answers
407 views

Consider you have two todo list apps for the same service, using the same database - a webapp and a react native app. A user can be logged in to their account on both and create/update/delete their ...
tristantzara's user avatar
  • 6,007
0 votes
0 answers
617 views

We have recently switched to MySQL master/slave architecture. We do all writes and critical reads to master and all read to the slave machines. The master/slave architecture is designed as follows. ...
ssharma's user avatar
  • 541