A location or process for storing of transitory or temporary data in order to improve application or system performance.
Questions tagged [cache]
1588 questions
5
votes
1 answer
nginx specific url to purge
I am looking for a way to purge nginx cache using by adding a specific annotation on url.
Let's say I have this url (item) cached with nginx:
http://mywebsite/render/render5.php?frame=1&image=nature-1920.jpg
If I want to purge it, I would have to…

London Smith
- 217
- 1
- 4
- 8
5
votes
1 answer
Why is L2ARC not giving more speedup for directory traversal?
L2Arc is usually configured to cache random spinning platter reads on an SSD. I've set up this configuration in the hopes of speeding up directory traversal.
This is the setup:
# zpool list -v
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP…

Jos van den Oever
- 51
- 1
5
votes
1 answer
Nginx Server "caches" PHP. Updated Page does not Reload
Nginx seems to cache my PHP files, because it serves the same PHP page even though I changed the file on the server.
I am using:
Ubuntu 16.04 Droplet by Digitalocean
nginx/1.10.0 (Normal LEMP One-Click installation)
PHP 7.0.13-0ubuntu0.16.04.1
I…

LoveAndHappiness
- 165
- 1
- 5
5
votes
3 answers
Is there a way to limit the "buffer" memory use in Linux?
I'd like to limit a Linux server's assignment of RAM into the disk cache buffer and instead leave it idle. (CentOS 5 if it matters). I know it's ideal to be using every drop of physical RAM available for something even if just caching disk - Linux…

BrentHarsh
- 51
- 1
- 1
- 2
5
votes
1 answer
Where Does /var/lib/nginx/proxy Come From?
I have a server configured to proxy by setting:
proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=backcache:8m max_size=20g inactive=7d;
proxy_cache_key "$scheme$request_method$host$request_uri$is_args$args";
Despite this, when I start…

RangerRick
- 166
- 1
- 6
5
votes
2 answers
Nginx as a caching proxy: Trying a second upstream if first returns 404
For using nginx as a caching proxy, is there a way to configure 2 upstream servers in a way that it always tries the first one unless that one returns a 404, and only in that case it will try the second upstream?
I know of the backup option in the…

user779159
- 395
- 1
- 5
- 10
5
votes
1 answer
Adding SSD cache (PCIe) to existing Linux KVM Node with SATA disks
I currently have large KVM nodes utilizing between 8 & 16 RAID10 arrays & hardware raid. We typically provision a single large volume (VM's are backed up off site as well).
KVM VM's using LVM volumes
Currently, on our 16 disk arrays, we're getting…

Bjones
- 51
- 2
5
votes
2 answers
Nginx reverse proxy in nested locations
I'm using Nginx as a reverse proxy for multiple applications in multiple servers and I'm trying to add common cache directives to static files of each application.
My original configuration is something like this:
location /app1{
...
…

Jose Antonio
- 151
- 1
- 2
5
votes
1 answer
Nginx doesn't decrement max-age
I'm trying to set up Nginx as a reverse proxy for my Rails application running on Unicorn.
My app has some public pages that I'd like to cache for a duration for 60 minutes, so I set the max-age header.
Furthermore I have added the proxy_cache…

Niels B.
- 373
- 1
- 3
- 10
5
votes
3 answers
Alternatives to Citrix NetScaler?
I'm interested in Citrix product NetScaler.
It's an applicance that you put in front of the web-servers.
Features I like is:
SSL offload an acceleration (good because of performance and that Verisign charges per machine)
GZIP compression of HTTP…

Allrameest
- 153
- 1
- 4
5
votes
2 answers
iozone: 5 concurrent threads random read of 300K blocks does more ops/s than using only one thread, what could be the underlying reason?
The partition is in RAID1 using software RAID.
Command line used: iozone -s 190g -r 300k -O -b test_file
OPS Mode. Output is in operations per second.
random random bkwd …

Mladen Adamovic
- 599
- 1
- 3
- 14
5
votes
1 answer
Storing plaintext passwords for SVN
I'm on Windows, using SVN as a part of SharpSVN library. I need to store my passwords in plain text. I tried putting the following in my servers file:
store-passwords = yes
store-plaintext-passwords = yes
store-auth-creds =…

ulu
- 233
- 5
- 10
5
votes
2 answers
Strange Recurrent Excessive I/O Wait
I know quite well that I/O wait has been discussed multiple times on this site, but all the other topics seem to cover constant I/O latency, while the I/O problem we need to solve on our server occurs at irregular (short) intervals, but is…

Chris
- 51
- 1
- 5
5
votes
4 answers
How much impact does hard drive cache have on IO performance
How much impact does hard drive cache have on IO performance
Are there any statistics or performance tests available that can tell me if there is a difference is 16MB vs 32MB Cache?
If it matters, I am looking at SATAII 7200RPM Drives.

Jason
- 3,247
- 9
- 27
- 28
5
votes
1 answer
what harm can writeback caching have on a degraded disk array?
At work I administer several machines using (real) hardware raid controllers (with battery backed write caches), and these have the nasty habit of falling back to writethrough behaviour when an array becomes degraded due to a disk failure.
I cannot…

jap
- 173
- 5