In computer engineering, a cache is a component that transparently stores data so that future requests for that data can be served faster.

learn more… | top users | synonyms

2
votes
2answers
2k views

Non-volatile cache RAID controllers: what kind of protection is there against NVCACHE failure?

The battery back-up (BBU) model: admin enables write-back cache with BBU writes are cached to the RAID controller's RAM (major performance benefit) the battery saves uncommitted and cached data in ...
20
votes
18answers
19k views

Caching/preloading files on Linux into RAM

I have a rather old server that has 4GB of RAM and it is pretty much serving the same files all day, but it is doing so from the hard drive while 3GBs of RAM are "free". Anyone who has ever tried ...
0
votes
1answer
620 views

APC File Cache not working but user cache is fine [closed]

I have just got a VPS (with cPanel/WHM) to test what gains i could get in my application with using apc file cache AND user cache. So firstly I got the PHP 5.3 compiled in as a DSO (apache module). ...
2
votes
2answers
955 views

Unusual Apache->Tomcat caching issue

Right now, I have an Apache setup sitting in front of Tomcat to handle caching. This setup has been given to an external service to manage, and since the transition, I've noticed odd behavior. ...
7
votes
2answers
6k views

Varnish Cache - default TTL?

I have discovered that I can set the TTL in Varnish as follows in my VCL file: sub vcl_fetch { # 1 minute set obj.ttl = 1m; } But what is the default setting (assuming the backend server is ...
1
vote
3answers
464 views

Can APC recognise duplicate source files?

I have a webserver with lots of sites which are all based on Drupal. The sites share a vast majority of identical code, and it'd be great if APC could take advantage of this and not 're-cache' the ...
2
votes
1answer
605 views

Setting Up Apache as a Forward Proxy with Caching

I am trying to set up Apache as a forward proxy with caching, but it does not seem to be working correctly. Getting Apache working as a forward proxy was no problem, but no matter what I do it is not ...
2
votes
2answers
3k views

How to make HTTP Cache Headers Work

Can someone please help me with a HTTP caching question? I thought that if I set the "Expires" and "Cache-Control:max-age" request headers, then a browser wouldn't make a GET request until after the ...
1
vote
2answers
619 views

nginx caching dynamic content to static

I've read and heard that nginx can cache dynamic content and make it static so it loads faster taking more of a load of apache. has anyone done this before? is it worth it? any pros/cons to it?
1
vote
1answer
623 views

Is there a way i can see why Squid (Proxy Server) determines why a resources should be a MISS?

I'm using Fiddler/FireBug to debug some of our live server web content. We're getting a lot of :- X-Cache: MISS from X-Cache-Lookup: MISS from :8080 Via: 1.1 :8080 (squid/2.7.STABE3) I thought i ...
1
vote
2answers
686 views

APC (php accelerator). What situations should I use this?

So I've just got a small vps. I've installed apc, which sped up normal pages by 20% - 30%. I was reading about memcached and came to the conclusion that I can use apc for the same thing (caching ...
0
votes
1answer
1k views

How does the DFS 'cache duration' setting work?

We have a large and complex multi-site DFS structure. I'm using DFS for an application that would be disrupted if any part of the structure was redirected out of site (although I'd rather it be ...