Questions tagged [cache]

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

1588 questions
0
votes
1 answer

How to combine an SSD with two HDDs in a RAID1-ish hybrid setup?

Coming from Linux SSD as HDD cache, I'd like to set up an SSD (or rather a partition thereon) as cache for basically a RAID1 of two HDDs. But since the data might remain cached on the SSD for while, I was wondering it is possible to set up the HDDs…
Tobias Kienzler
  • 388
  • 1
  • 9
  • 28
0
votes
1 answer

Cache mechanisme in kubernetes

I've got the next setup: Proxmox 7.2 CEPH 16.2.9 K3S v1.23.15+k3s1 CEPH CSI v3.7.2 CEPH using as RBD-storage for QEMU images and K8S PVC. When I do disk benchmark in QEMU I've got the next results: Name Read(MB/s) Write(MB/s) SEQ1M Q8…
chs_voks
  • 33
  • 1
  • 5
0
votes
0 answers

How to configure nginx reverse proxy to stream large files immediately

I have an nginx server configured as a reverse proxy that is working fine. However I am serving up large MP4 files and there is a very long delay since the nginx server has to download the entire file from the (slow) provider. Is there any way to…
0
votes
0 answers

Browser random behaviour in using cache and reloading for js/css from server despite setting cache-control header

I have set cache-control header in my nginx conf file successfully for js/css files location ~* \.(css|js)$ { add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate, max-age=305360000,…
codingenious
  • 113
  • 5
0
votes
1 answer

Cached windows domain credentials issue

I need to delete or lock out a single cached domain account on a local pc. If I disable the cached logon domain information I will lockout me from the pc if I am not in the office. Is there a way to disable a single cached user? Even by deleting the…
0
votes
0 answers

Mount smb remote storage on debian with local disk caching using FS-Cache for CIFS

I am trying to connect a smb remote storage to my debian server and use the available space on the local disk as a cache using FS-Cache for CIFS. I have already tried the following code but it doesn't seem to work because the local disk space is not…
dami3n
  • 1
0
votes
0 answers

FastCGI cache and WordPress, is the cache skip for querystrings really needed?

I'm just making a few test on FastCGI cache and I see that the suggested .conf have this directive: if ($query_string != "") { set $skip_cache 1; } This will bypass the cache for every request containing a querystring. The problem is that all…
user103969
  • 31
  • 2
0
votes
1 answer

Issue with 'mkdir(): No space left on device" in Docker Container. Might be some other issue though?

I have some docker containers (NGINX / PHP, MySQL, etc.) that have been running fine for years. However, recently I started seeing this error when running a PHP script in Laravel in the NGINX / PHP container. mkdir(): No space left on device From…
SScotti
  • 141
  • 6
0
votes
0 answers

Cache basic files properties of a disk?

I have a large BTRFS disk on my Linux Samba server. The content of the disk is rarely accessed, so most of the time the disk is sleeping. When I need to check if to see basic properties, not the file content, like file name/date/size using Windows…
Damn Vegetables
  • 221
  • 2
  • 10
0
votes
0 answers

How to stop tomcat from compiling jsp for single page app

We have a server with tomcat 9 running on RedHat linux, and a vendor provided dynamic content management system that builds jsp pages to show news article types of content based on a query string parameter. So kind of a typical single page app,…
0
votes
0 answers

Disable sync writes on lvm cache

I have nvme devices spread across a couple nodes and connected in a raid1 over the network. I'm using the raid set as a cache device using lvm. I consider the cache device very reliable. Is it possible to disable sync writes at the cache level, so…
Fallen
  • 1
0
votes
1 answer

Nginx cache for frequent and different requests

I have a service. This service has a GET handle(/api/v1/retrieve_blocks). This handle's requests and responces are small, no more than 1024 characters. regular situation: this handle is constantly under 500rps. Almost all requests are different by…
0
votes
1 answer

Nginx - fastcgi cache not working for rewrite enabled php page

I've been trying to figure out why Im failing to achieve fastcgi caching for a rewrite rule applied php page. While all other request wonderfully cache, the rewrite ^(.+)/special/?$ /inc/special.php?req=$1 last;always sent an…
TheMonkeyKing
  • 113
  • 1
  • 1
  • 5
0
votes
1 answer

HAproxy getting cache lookups but no hits

My situation is: cache is enabled, lookups are happening but no cache hits. This is my configuration: cache cache-foo total-max-size 32 max-object-size 1024 max-age 120 backend foo_backend http-request cache-use cache-foo if { path_beg…
edmz
  • 215
  • 2
  • 6
0
votes
1 answer

Share cache between multiple location blocks

Considering a nginx server with the following two locations which each serve a webapp, including some static resources and a REST API. Is there a way to cache the common resources, e.g. /proxy/host1/js/vendors.js and /proxy/host2/js/vendors.js such…
Coxer
  • 187
  • 1
  • 14