Questions tagged [cache]

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

1588 questions
4
votes
3 answers

NGINX Not Serving "Fast" Stale Content with proxy_cache_background_update

We are running NGINX in front of our backend server. We are attempting to enable the proxy_cache_background_update feature to allow NGINX to async updates to the cache and serve STALE content while it does this. However, we are noticing that it…
Ted Wilmont
  • 191
  • 5
4
votes
5 answers

SSDs as Linux swap for large virtual mem applications?

This question topically touched on this, but running on 64-bit Linux, I have a set of data caching JVMs as well as wanting a large web cache. Each cache today is configured to in gross fit in system memory (24GB) and persist to disk in LRU. I'm…
Jé Queue
  • 363
  • 1
  • 3
  • 10
4
votes
2 answers

NGINX proxy default cache time with Cache-Control and no expiration

I have caching enabled on an NGINX proxy. As I understand it, as long as I'm not ignoring the Cache-Control header in my proxy configuration (proxy_ignore_headers), the cache time before expiration can be set from the origin server using…
dlrust
  • 715
  • 2
  • 8
  • 12
4
votes
0 answers

Copy nginx cache between two servers

I have a nginx caching server with at least 2tb of cache files at any moment, i need to migrate this server to another hosting provider but none of my clients can handle that traffic without cache. At my first try, just copying the cache object to…
4
votes
2 answers

DL380p G8 SSD cache

I have HP DL380p G8 with smart array P421i. I would like to use SSD cache for my HDDs RAID 10 volume. I got know I have to buy a SmartCache license for the array and I found some weird info about the posibble configuration of this cache. I cannot…
Garen
  • 41
  • 2
4
votes
3 answers

Clear browser local cache by sending http headers?

I have modified js and css files in my website. But browser still fetch the contents from local cache because browser has stored it. I want to fetch the fresh content from the server without clearing the local cache. Previously max-age header was…
linux404
  • 153
  • 1
  • 2
  • 9
4
votes
2 answers

How does Windows write cache work with mounted VHDs?

Suppose I have a VHD residing on Disk A mounted on a Windows Server 2016. If I turn write caching on for Disk A and the VHD, do I have double write caching? If yes, is this recommended? If it is not, should the write caching be done on Disk A or…
RJ-
  • 151
  • 5
4
votes
1 answer

How to Cache SSL Data with Squid

What I want to do: My goal here is to cache data being transmitted over SSL with Squid - not just data transmitted over Http. Users should not be bothered with SSL certificate errors on every Https webpage they touch. Downloading data cached by…
Jaxian
  • 169
  • 3
  • 9
4
votes
0 answers

REQUEST CACHING IN NGINX

I am trying to cache my requests in nginx. I have connected my django server as upstream. Now, I am trying to cache my requests. proxy_cache_path /var/cache/nginx/ keys_zone=one:10m; location / { proxy_cache one; …
Luv33preet
  • 206
  • 1
  • 11
4
votes
1 answer

Limit linux file cache memory usage (to avoid hypervisor memory exhaustion)

I have a server with 16GB RAM running several linux virtual machines (around 10), which perform several different tasks. These machines, with the default configuration, will fill up the memory I give them to the max with cache. Even as this is a…
Roberto Santalla
  • 217
  • 1
  • 2
  • 6
4
votes
3 answers

Nginx -- disable aggressive caching for Wordpress admin areas

I have a fully Nginx install now, with PHP-FPM. Coming from a world of Apache with Nginx proxying in front. It seems Nginx has its own moody caching, very aggressive. There are a few layers of caching: Nginx's fastcgi cache itself. In my…
PKHunter
  • 209
  • 2
  • 3
  • 11
4
votes
1 answer

Linux - Disk / Filesystem as a LRU Cache (with transparent expiry)

I have a case where I'd want to use local disk as a LRU cache for (hot) files from a separate web service (something like S3). If the file doesn't exist on disk, the file is read over the internet, written to the local disk and then future requests…
fiskfisk
  • 151
  • 5
4
votes
2 answers

LVM cache in writeback mode is equivalent to external ext4 journal?

I am running ext4 filesystems on LVM. The two big speedup options I'm looking at are, LVM cache and the external ext4 journal. It sounds like if I'm using a single SSD for this, LVM cache in writeback mode is the same thing as having your ext4…
RobC
  • 143
  • 1
  • 4
4
votes
1 answer

How do Proxies handle ETags?

I use ETags to improve performance. I decided to use an Etag that is valid on Server, Client and Proxy. But how is this handled if the proxy has saved the ETag? Does the Proxy still ask the website if the ETag is valid or does the proxy itself just…
user107250
4
votes
1 answer

Does the SOA serial have importance when it comes to ISP caching nameservers?

Lets say I forget to update the SOA serial when updating the zonefile. Of course, this means any slaves will not sync to the master because it thinks no change has been done. The question I have, is, does SOA serial have any effect on ISP caching…