Category "caching"

GitLab Pages CI cache appears to cache and restore nothing. How do I inspect the cache?

I have a .gitlab-ci.yml that looks like this: image: mcr.microsoft.com/playwright:latest before_script: - apt-get remove nodejs -y - apt-get update - apt-get i

Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool;

My Spring boot app hosted in AKS Azure, while hitting the redis cache in Azure, getting Unable to connect to Redis; nested exception is org.springframework.data

Angular MatStepper fails to recognize cached values from two str arrays (but successfully recognizes values from another str array)

I have a MatStepper that's used to navigate to the next page of a signup flow. I also have a method that loads values from a cache if it's available, and if so

Is there an expiring map in Java that expires elements after a period of time since *first* insertion?

I tried looking at cache mechanisms, such as Guava's Cache. Their expiration is only since last update. What I'm looking for is a data structure that stores ke

Best approach to implement server-side caching on a Django GraphQL API?

I have an Angular frontend that uses Apollo Graphql client to interface with a Django Graphql backend (using graphene). It all works well, but the API is very s

The publishing code below is stalling on time.sleep() how can i change this behaviour + what would be a good way to implement a thread safe cach

For refreshing skills for a new job i have been trying to implement a very simple price publisher + client + mtm_cache. In the code below in publishing.py the c

Caching JSON data on android: Room vs file

An app retrieves JSON formatted strings from a network and parses them for presentation to the user. What would be the best way to cache the data in case it's n

Electron cache images and then read it when the image is used

When electron starts, the cache images is read, and then read it when the image is used. i can save images in main process. fetch(`${server_host_ip}${image}`)

What's the right way to do high-performance lookup on filterable sets of keys in a cache?

I would like to operate a service that anticipates having subscribers who are interested in various kinds of products. A product is a bag of dozens of attribute

Manually invalidating CloudFront cache for more than 3000 files

What happens if I want to manually invite more than 3000 files to my distribution? documentation (doc) Concurrent invalidation request maximum If you’r

Failed to store cell in cache

I am using multiple csv files to populate the tables in a database. As I am on Symfony, I created a command which from a given directory read files in a defined

how to use first processor input/output in last processor of flow in apache NIFI without storing files/DB

I have 5 processors processor1( have a value)=>processor2( have b value) => processor3(calculate c=a+b)=>processor4( calculate d=c*a)=>processor5( c

Java time-based map/cache with expiring keys [closed]

Do any of you know of a Java Map or similar standard data store that automatically purges entries after a given timeout? This means aging, whe

Pyspark performance tunning - cache or not to cache?

I am trying to speed up the calculations from multiple operations that I am adding as columns in a pyspark data frame, when I found the sparkbyexamples article

Cache issue when building a multi-stage image with kaniko

I've setup container images builds in kubernetes using kaniko (version v1.6.0-debug), but I ended up in the following problem when the cache is enabled (/kaniko

Browser shows old CSS / Hard refresh/clear cache doesn't work

I must have some sort of caching issue. I wrote code to create a download button. The button is meant to exist in 6 different colors, for 6 different topics. Of

Laravel cache error: Too few arguments to function {closure}(), 0 passed in .../Illuminate/Cache/Repository.php on line 426 and exactly 2 expected

So I have a table called styles which has classes and styles for various places in blade templates. The table has a unique column the name and a column for clas

What serves the same purpose of Java volatile in C++?

I learned the volatile keyword in Java. It serves as a mean to ensure visibility in other threads when a variable is written by one particular thread. It does t

How to clear webview cache when server side content updated?

I have a HTML cache enabled WebView app that sends Javascript fetch request to server and gets images list from server, images on server updating every random h

Caching results of a lambda function

We are developing a serverless application. The application has "users" that get added, "groups" that have "permissions" on different "resources". To check if a