caching Questions

1

I am trying to implement the lru_cache on a function that takes in a python object as an argument. The function should return a cached value only if it's argument's attributes have not changed. How...
Eliathan asked 12/5, 2020 at 20:1

2

Is there a way to prevent flask from setting caching headers in send_file or do I have to manipulate them manually afterwards?
Rahr asked 8/8, 2017 at 0:31

3

> Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal(). > Timeout waiting to lock journal cache (/Users/mark/.gradle/caches...
Janes asked 26/5, 2022 at 14:57

5

I'm trying to setup ehcache in my Spring boot application. I have the following ehcache.xml and configuration file: <?xml version="1.0" encoding="UTF-8"?> <config xmlns...
Garate asked 24/7, 2023 at 1:12

2

Solved

I was looking at a way for caching responses from an API endpoint developed in .NET Core. The request to the API must have a valid Authorization header as part the requirement. I came across a fe...
Kansas asked 14/8, 2019 at 9:29

4

Solved

Why should I use QueryClient.prefetchQuery instead of useQuery for caching in React-Query? I don't see any valuable use case. If I want to prefetch, I could just use useQuery when the app is loaded...

2

Solved

Background I'm trying to understand whether a GPU's Last-Level Cache is invalidated or preserved across multiple kernel launches, so that the effective memory bandwidth can be increased. I'm aware ...
Spellbound asked 2/9, 2023 at 8:26

2

Solved

My current Nextjs app is pulling its static files from Cloudfront. (I upload the /static folder to S3 during the deployment) Since updating to version 9 I am facing a weird issue where some of my C...
Eicher asked 24/6, 2021 at 21:41

4

Solved

I am trying to run simple code of cache using memcache in my laravel project. I have added CACHE_DRIVER=memcached in my .env file. I have created folder of memcache in C drive and added a file me...
Doityourself asked 10/12, 2015 at 7:58

6

I noticed this new wordpress version I'm running has a "Endurance Cache" option at the bottom of the "Settings > General" page. That is caching all of the changes I'm doing on css. So whenever I u...
Fusty asked 8/8, 2017 at 17:48

4

I'm trying to implement a caching scheme for my EF Repository similar to the one blogged here. As the author and commenters have reported the limitation is that the key generation method cannot pro...

2

Our current caching implementation caches large amounts of data in report objects (50MB in some cases). We’ve moved from memory cache to file cache and use ProtoBuf to serialize and de-serialize....
Leontine asked 22/12, 2015 at 22:13

1

I am looking for a way to use python's cachetools built-in library functionality of a cache, but also support hit/miss statistics, use a custom key function, and if possible support an unbounded ca...
Paradiddle asked 16/8, 2020 at 13:42

11

I've been struggling with this problem for days and can't find a solution. I've been updating my css and the changes are not reflected for a crazy reason. When I check the source, the style.css is ...
Guth asked 30/6, 2014 at 20:7

4

I cached Pip packages using a Gitlab CI script, so that's not an issue. Now I also want to catch a Conda virtual environment, because it reduces time to setup the environment. I cached a virtual ...
Pearly asked 31/1, 2018 at 10:47

7

I have a lot of services with requests to rest service and I want to cache data receive from server for further usage. Could anyone tell what is the best way to cash response?
Proprietor asked 4/10, 2017 at 14:51

7

Solved

Just came across the register keyword in C++ and I wondered as this seems a good idea (keeping certain variables in a register) surely the compiler does this by default? So I wondered is this keyw...
Farnese asked 20/5, 2012 at 16:16

3

Just want to know around the header that I have specified for my SSR pages: public, s-maxage=3600, stale-while-revalidate=59. Please note that my stale-while-revalidate value is 59 seconds which is...
Huntingdonshire asked 16/6, 2022 at 8:38

1

I'm running playwright in a react app. My goal is to return results right away for cached results. The following is able to set and get cache. But the next time the same URL is requested, it acts l...
Aftersensation asked 28/12, 2022 at 23:32

4

Solved

I am on an dead end with redis cache. I want to set an TTL on the initiation of a key. The key will be set by hSet($hash, $key, $data) expire($key, '3600') does not seem to work. Is there an hEx...
Wandering asked 27/4, 2018 at 15:2

4

Solved

I am using redis as a cache and would like to expire data in redis that are not actively used. Currently, setting expiry for an object deletes an object after the expiry time has elapsed. However, ...
Tottering asked 13/1, 2014 at 12:19

2

Solved

I have been trying to understand how to write the cache-friendly code. So as a first step, i was trying to understand the performance difference between array row-major access and column major acce...
Driedup asked 30/12, 2013 at 7:38

4

Solved

I would like to know how to clear Azure Redis Cache from portal or any other easy way to clear all the keys ? I am using azure redis cache for my azure cloud service and I would like to know any ea...

5

Trying to run a project on my VPS but im constantly getting this error flagged up. i have tried clearing and installing everything fresh but the problem still occurs. any help would be greatly appr...
Gahan asked 10/8, 2022 at 12:25

4

Solved

I am trying to delete a bunch of keys matching a prefix using redis-cli. I have been researching how to do this online and the most common suggestion I have seen is to do it straight from the comm...
Cultivated asked 1/3, 2018 at 17:41

© 2022 - 2024 — McMap. All rights reserved.