Questions tagged [cache]

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

1588 questions
11
votes
2 answers

How to Create Yum Cache Server for client machines in LAN

Like in Ubuntu we have the option of creating "Ubuntu update cache server" which downloads and update packages directly from internet and serves other client ubuntu machines for installing/updating packages. In the same way for RHEL based…
Ankit Pandya
  • 111
  • 1
  • 1
  • 3
11
votes
3 answers

Irregular internet disruption: certain images and JS not loading

first time on ServerFault, and I've got a nice little conundrum. Since a few months now, we've been having issues with our internet connectivity. Environment: Servers: 2 Terminal Servers as an RDSFarm running Windows Server 2008 R2 Browser: Internet…
blaa
  • 211
  • 1
  • 9
11
votes
5 answers

Is there a way to force windows to cache a file in RAM

I have a windows server 2008 R2 file server, that has some large files that on rare occasions is very important to get copied to another system as quickly as possible. Is there a way to force these files to always be cached to RAM?
Josh
  • 245
  • 1
  • 3
  • 8
11
votes
3 answers

Will an IIS reset force cached items to be resent?

I'm trying to develop a strategy to handle cached javascript files, css, images, etc when we release an update to our site. Before I get into implementing version numbers on the javascript files I was wondering if an IIS reset after each release…
DaveK
  • 213
  • 1
  • 2
  • 6
10
votes
1 answer

Adding Cache-Control to Nginx for images, css, js, and fonts

I'm trying to get Cache-Control working on Nginx for assets on my server and it is not taking as expected. Here is my server config for Nginx. Everything but Cache-Control is working. Server Blocks server { listen 80; server_name…
Kevin
  • 301
  • 1
  • 3
  • 12
10
votes
1 answer

Nginx cache shared between multiple servers

We have 8 REST-ish API servers with Nginx using FastCGI with PHP-FPM to handle requests. We're currently using Nginx' FastCGI caching (directives like fastcgi_cache_path). This means that API responses are cached, but there is a separate cache for…
Brad
  • 1,419
  • 22
  • 43
10
votes
1 answer

Nginx ignore query string for caching certain files

I know my setup is a bit crazy, but whatever.... I set up Nginx on Openshift to cache map tiles (for a map viewer, you can guess the purpose, :-) ) that are served from my home network, which has limited bandwidth (stupid wireless connections!).…
Andrew Sun
  • 201
  • 1
  • 2
  • 6
10
votes
2 answers

Vagrant NFS share doesn't show updated file if size doesn't change

When mounting /vagrant over NFS, a changed file on the host is not refresh on the guest if the size doesn't changes. Quick update/typo are not immediately reflected unless I make enough modification for the size to be different. I've tried to set…
hlidotbe
  • 215
  • 3
  • 6
10
votes
2 answers

Stop IIS 7.5 From Sending Out Cache-Control Max-Age on Error Codes

I have some static content with cache control Max-Age headers attached to it so clients will cache the static content. However, IIS 7.5 still sends this header out when there are error responses advising the client to cache this. The has the…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
10
votes
4 answers

What purpose does the battery serve on a battery-backed caching RAID controller if the server is on an uninterruptible power supply?

Is the battery redundant if the server is on a properly-sized UPS? There is an option to force write-back mode and I want to understand the risk. It is my understanding that it helps against power failures while data in the cache has not been…
RPC
  • 101
  • 1
  • 1
  • 3
10
votes
3 answers

How do I flush IIS Cache without restarting web server?

I have a web site IIS 6.0 that places data into the cache. Sadly it hasn't had a expiration set on it. Is there a way (utility or command) to force this cache to be cleared without rebooting the machine or restarting the web server? I've already…
automatic
  • 205
  • 1
  • 2
  • 5
10
votes
2 answers

Apache redirect and set cache headers?

Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 Dec 1994 16:00:00 GMT" (I don't want this…
Jakob Borg
  • 1,453
  • 1
  • 10
  • 13
10
votes
2 answers

ZFS and cache devices

I'm going to add a SSD drives to my ZFS storages as a cache. Anyone has any experience with this? What if cache device dies, will the any data be affected?
disserman
  • 1,850
  • 2
  • 17
  • 35
10
votes
2 answers

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would prefer the use of reprepro so that I could use my…
Sushant Jain
  • 201
  • 2
  • 3
9
votes
1 answer

Why can't QEMU allocate the memory if the Linux caches are too big?

If I use my machine [Ubuntu 16.04 64 bit, kernel 4.4] for a while, QEMU needs the kernel caches to be dropped, otherwise, it won't manage to allocate the RAM. Why does it happen? This is a sample run: ~$ free -m total used …
Marcus
  • 242
  • 1
  • 3
  • 10