Questions tagged [cache]

A location or process for storing of transitory or temporary data in order to improve application or system performance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Massive performance issue for just two users in UI and Download

I have a strange issue with my self hosted nextcloud instance: All works fine, but I have two users who report huge issues with speed when accessing that nextcloud. Two independent effects apparently: ...
user avatar
  • 168
0 votes
1 answer
28 views

Disable linux cache memory

Currently i have a server with 4 gb of ram runing 2 rsyncs task (100gb each) every 5 minutes and some monitoring containers, eventually the linux cache eats all ram (rsync faults) and if the ...
user avatar
0 votes
1 answer
133 views

The server's host key is not cached in the registry

There is a scheduled job to send files via psftp command (psftp -bc -v -P 22 -l username -pw password -b upload220506.ftp ftpsitename) in windows server. It is already cached by running exe ...
user avatar
0 votes
0 answers
21 views

Nginx cache - keeps clearing itself

I am using nginx caching in Plesk obsidian. All seems to work fine apart from the fact that if I watch the cache directory I can see that it will build up, then a few minutes later the overall size ...
user avatar
1 vote
0 answers
42 views

Nginx - disable rate limiting for cached resources

I have an application does full text search on my product database. Certain searches are suggested to the user and are much more common than other searches. As full text searches are expensive, I'm ...
user avatar
  • 133
0 votes
0 answers
37 views

How to properly cache content in NGINX like in Plus version?

I saw official NGINX tutorial regarding content caching and tried to modify it according to my needs. I use CDN (Cloudfront), but the performance doesn't convince me. If my server was more faster it'd ...
user avatar
  • 115
0 votes
1 answer
110 views

getting 412 precondition failed with ngx_cache_purge when trying to purge cache

I am new to this and just started using nginx for my pet projects. now i would like to install and use ngx_cache_purge module from https://github.com/nginx-modules/ngx_cache_purge, since it has some ...
user avatar
  • 101
0 votes
1 answer
35 views

Arp behavior on non requesting user for response

If we imagine we already have a valid cache for a pair in computer B and then composer A asks about the same pair and computer C responses with the pair information, what would happen here to computer ...
user avatar
1 vote
1 answer
83 views

MariaDB cache going cold overnight

We are running a LAMP stack which includes MariaDB 10.5.15 on Centos 7. It's a dedicated server with 4 CPU's and 8GB RAM. Never had a problem until the last few weeks, where I noticed slow queries ...
user avatar
  • 345
0 votes
1 answer
109 views

Why does drop_caches increase "available" memory

I encounter low memory issues on proxmox 7 nodes I'm managing. When reading about similar problems I was directed to linuxatemyram.com, after reading this page I started monitoring "available&...
user avatar
0 votes
1 answer
90 views

NGINX Reverse Proxy And Cache MS Graph API

I'm building a web based company directory which has roughly 450 employees. The data source being used is the Microsoft Graph API (Azure AD). This API requires you to make a request for every employee ...
user avatar
  • 103
0 votes
0 answers
75 views

centos Fatal error: Uncaught RedisException: Cannot assign requested address in

We receive this error every few minutes on the server Fatal error: Uncaught RedisException: Cannot assign requested address in i set bind ip and firewall command like : firewall-cmd –permanent –new-...
user avatar
0 votes
0 answers
70 views

Slow response time when server is idle, fast response time when server is loaded?

I'm running a 40 thread / 125GB RAM server. The server is based on CentOS 7. I have noticed that the server response time is higher when the server is idle: You can see on the screenshot here that ...
user avatar
1 vote
1 answer
385 views

How to implement caching of HTTP responses in Kubernetes?

How can I cache HTTP responses from my services in Kubernetes? I have a simple web service in my cluster and am wondering how I could cache static assets (static html, images, fonts, etc.) beyond ...
user avatar
  • 111
0 votes
0 answers
99 views

How to Intercept and cache LDAP Search and Bind requests

I have a production web server running Django. Currently every request made requires an LDAP Bind and Search request. I can use the django-auth-ldap plugin to enable LDAP Search caching. However, my ...
user avatar
1 vote
1 answer
140 views

Page cache in Kafka

We are receiving alerts for kafka memory utilization in our kubernetes cluster and analysing it seems that most of the memory is page cache. I am aware that kafka uses loads of page cache for IO ...
user avatar
0 votes
2 answers
100 views

NFS with FS-Cache - set up, but still says it's disabled

I have about the same problem as this one here, but that one seems to have been solved because cachefilesd hasn't been enabled. I have it enabled (removed the comment before RUN=yes in /etc/default/...
user avatar
0 votes
0 answers
51 views

check-host.net "broken pipe" HTTP status on my Bluehost Wordpress Nginx

Issue: 502 Bad Gateway So our team always reaches out to Bluehost Support regarding the issue. They can't fix it by themselves. We can't fix it either on the WordPress dashboard. Please see attached ...
user avatar
0 votes
0 answers
31 views

NGINX - Only cache files larger than 10M

I am using NGINX in a unique situation where I and using a reverse proxy for Sonatype Nexus and I only want to cache files if they are larger than, say 10M. Here is what I have so far: upstream ...
user avatar
  • 155
0 votes
1 answer
191 views

Where is IIS output cache location, and how can I relocate it?

I've successfully configured IIS output cache. However after repeated google pagespeed tests it seems that the page speed is even slower with output caching compared to without output cache ...
user avatar
1 vote
1 answer
74 views

Is it necessary to set a different ttl before change a Route53 DNS record value?

The first time create the Route53 DNS record with a load balancer origin DNS name with ttl 1 day. After some days, we want to change the value to another load balancer origin DNS name. Do we need to ...
user avatar
0 votes
0 answers
35 views

CDN video caching duration

Are there any standards about for how long (days, weeks) do CDNs cache video content? This other answer suggested that it is only for a short period of time (e.g. 1 day) but that information is almost ...
user avatar
  • 275
0 votes
2 answers
154 views

Apache: I cannot set full cache header for text/html using htaccess

I had a similar problem where I couldn't set the full cache header for JS and CSS files in my htaccess file, and it turned out I couldn't because the cache expiry was being set on the server and I had ...
user avatar
  • 1
0 votes
0 answers
18 views

how to reduce high memory usage in buff/cache? [duplicate]

I got 4 WordPress site running on a 2gb Debian server, but only two of them got traffics, totals around 800 to 1000 page view per day, but got high memory usage in buff/cache, more than 1gb. is it ...
user avatar
0 votes
0 answers
293 views

LVM aggressive read and write cache

I've added a 2 TB RAID1 SSD as a writeback cache to a 10 TB RAID1 HDD using LVM 2.03.11(2) (2021-01-08) like this: lvcreate --type raid1 --mirrors 1 --nosync -l 100%FREE -n sshd sshd /dev/sdc /dev/sdd ...
user avatar
  • 260
0 votes
0 answers
196 views

Apache: Setting cache headers by URL in htaccess

I tried to use this solution, which seems to do what I want: https://serverfault.com/a/995029/955515 I couldn't leave a comment on that answer, because I'm new and it says I need 50 reputation points ...
user avatar
  • 1
0 votes
1 answer
35 views

How to distribute Varnish cache differently to different kind of requests?

I have a redirect in my store that shows a different store view based on the client's location. It reads the header via Fastly and redirects the customer to a different store view using every time the ...
user avatar
0 votes
0 answers
27 views

Why apache2 mod_cache_disk cant store files in ramdisk?

I use Apache2 mod_cache_disk with symlink to my ramdisk: /tmp/ramdisk/mod_cache_disk but I cant get it to work :( It only works when path leads to real directory. How can I fix this problem ?
user avatar
  • 41
0 votes
1 answer
59 views

only flush the write cache if there's no read activity

Normally the Linux Kernel flushes the write cache if a specified time limit is exeeded or the cache is full. This leads to stalling with HDDs since the writing process makes reading processes much ...
user avatar
  • 13
0 votes
2 answers
212 views

Adding location-block to cache files makes those files return 404

I want to cache some static files using Nginx. But I somehow can't get it to work. This is my nginx.conf: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*....
user avatar
  • 105
1 vote
0 answers
180 views

NFS cache on Linux client but only for metadata?

I have several mounts shared via NFS. They contain loads of files, from text files to RAW photos. Issuing find on them is rather painful as even on 1GbE link it just doesn't happen as smooth as on ...
user avatar
0 votes
0 answers
462 views

How can we remove Google cloud builder cache. I am trying to build an image but it gives an error from a previous build attempt

This is the error it gives but the thing is I corrected the "MKDIR" command to mkdir but the error didn't go away, there is no MKDIR command in my Dockerfile anymore but the error stays the ...
user avatar
0 votes
1 answer
128 views

NGINX: Can I to use proxy_no_cache directive with upstream response body for conditional caching?

We are using Ngnix as a cache-proxy in front of a 3rd party service and have the following directive to ensure upstream responses with a status code of 200 are cached... proxy_cache_valid 200 364d The ...
user avatar
0 votes
0 answers
23 views

Sessions lost on specific network only

NOTE: My apologies - I am not a server admin, but I have a problem that I believe may be server related, or combination of server and network related. I do not have too much technical information ...
user avatar
2 votes
1 answer
1k views

lvmcache/dm-cache writeback cache full performance

I have a SSD writeback cache in front of a HDD, set up through lvmcache (so a dm-cache). When the cache LV is not full (Data% column in lvs < 100.00%), writes go to the cache device (monitored via ...
user avatar
0 votes
1 answer
59 views

"The User Agent is required to access this page" message only goes away when I clear NGINX cache

I'm new to NGINX and can't really tell if there's a problem with it or with our app. My PHP application has a php package Device Detector that is responsible for User Agent info as well as CodeIgniter,...
user avatar
0 votes
1 answer
320 views

How to automatically purge cache with nginx using the http-cache-purge module (ngx_http_cache_purge_module.so)

I am running an Ubuntu 20.04 LEMP server with wordpress installed on it. I am using the nginx.org repository for nginx, but I compiled the cache-purge module (ngx_http_cache_purge_module.so) from ...
user avatar
  • 63
0 votes
0 answers
84 views

Caching 401 response on bad token in nginx njs

In our application whenever a token (that arrives in a header) is invalid - it is practically guaranteed there won't be an exact valid token. So I'm trying to offload the responsibility of responsding ...
user avatar
  • 375
1 vote
0 answers
173 views

Keycloak: Difference between Authentication sessions and User Sessions

I was going through the documentation https://www.keycloak.org/docs/latest/server_installation/#cache Here they have described different types of caches. I didn't quite understand the definitions they ...
user avatar
  • 123
0 votes
1 answer
37 views

Router forces browser to use older, presumably cached, webfiles

We are trouble shooting website where we deploy a new version but our Computer browser still pulls the older pages. When we disconnect from the router (WiFi) and connect to a hotspot (mobile phone/...
user avatar
  • 285
0 votes
0 answers
196 views

HTTP_IF_NONE_MATCH Missing on Server Side with Chrome Requests to NGINX

I'm trying to add etag based cache verification to a web app I've developed that runs on Apache via an NGINX reverse proxy. The web app is written in Perl. In the Perl script, I check for the $ENV{'...
user avatar
0 votes
0 answers
35 views

Why I'm Getting "Service web-cache lost on WCCP clinet" error on cisco router?

I'm configuring wccp and squid. Here is wccp configuration or router: ip wccp web-cache redirect-list wccp-access group-list wccp-server ! interface FastEthernet1/0 ip address 10.10.10.1 255.255.255....
user avatar
  • 21
0 votes
2 answers
368 views

MySQL performance issue due to caching

perl mysqltuner.pl --host 127.0.0.1 [--] Skipped version check for MySQLTuner script [--] Performing tests on 127.0.0.1:3306 [!!] Successfully authenticated with no password - SECURITY RISK! [!!] ...
user avatar
  • 17
0 votes
1 answer
46 views

Why browsers fetch images again after reloading my page?

I am developing a web app, and I want all the images (a couple hundred MB worth - 20 000 - 50 000 thumbnails) to be downloaded once and never downloaded again, as those don't really change. Also, ...
user avatar
0 votes
1 answer
186 views

Squid : Do not cache these destinations ( I do not want some address to be cached by squid )

I have a virtual proxy client and I have a squid proxy server. I would like to add some addresses to block caching for them. Either their domain or IP address: www.apache.org 188.184.21.108 root@...
user avatar
0 votes
0 answers
70 views

Nginx caching not working for crawlers

I have been using Nginx caching for years but recently noticed an issue which I suspect has been happening for years. If I access a page that's never been visited before I of course get a cache miss, ...
user avatar
0 votes
1 answer
103 views

Setting Nginx expires epoch header selectively

I have a folder containing imagery on my server that is used to service both a mobile app, via a CDN, and to work with a backend webapp used to manage the content delivered to the app. For the latter ...
user avatar
  • 173
0 votes
0 answers
13 views

Disable nginx cache for a specific URL in site [duplicate]

We want to disable cache on a specific URL in our site. The problem we have is that when a user buys something, this purchase only is reflected in user's profile when nginx cache is cleared User's ...
user avatar
0 votes
0 answers
49 views

Prevent nginx to cache certain parts of a site

Everything works fine on our website, but we have the issue that when a customer buys a course, nginx cache prevents customer to see that purchase on his/her space, this is fix when nginx cache is ...
user avatar
1 vote
1 answer
48 views

How to tell nginx to honor backend's cache? uWSGI

There's a similar question but solution there doesn't work for me. We have nginx and uWSGI ad backend. We need nginx to cache the backend response according to what is in the response header. For ...
user avatar
  • 2,075

1
2 3 4 5
31