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

3
votes
1answer
94 views

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. ...
3
votes
1answer
527 views

flashcache with mdadm and LVM

I am having trouble setting up flashcache on a system with LVM and mdadm, I suspect I am either just missing an obvious step or getting some mapping wrong and hoped someone could point me in the right ...
3
votes
1answer
106 views

Loading of Home taking too long

We have a shared storage from NetApp mounted onto about 80 systems (all running Ubuntu 10.04 64 bit). These days there is some problem with the loading of user homes onto the lab machines ...
2
votes
1answer
52 views

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 ...
1
vote
1answer
152 views

Nginx: How to set expiration for 404 responses?

My nginx server acts as a proxy for another server, which sometimes returns 404s. I want the 404 responses to be cacheable, just like 200 responses. However, I cannot use expires, because the ...
1
vote
1answer
189 views

Varnish stops listening on port 80 after few hours

I have configured varnish to listen on port 80 and nginx to listen on 8080. After around 24 hours of uptime, my site has been down for 22 hours. I checked in and found varnish isn't listening on port ...
1
vote
1answer
89 views

Amazon CloudFront Synchronization

I want to leverage Amazon CloudFront to "cache" my webserver such that my website stays up even if my webserver goes down. I understand CloudFront has many edge servers that facilitate the ...
1
vote
1answer
152 views

Apache Cache with multiple CacheRoots

I configured Apache with a CacheRoot directory for each of my domains / virtual hosts: <VirtualHost> ServerName domain1.tld ... CacheRoot /var/www/vhosts/domain1.tld/httpdocs/cache ... ...
1
vote
1answer
448 views

IIS 6 + ASP.NET Output Cache Not Working

As you can see from the title, our output cache is not working. We only recently noticed but it did at one time work (verifiable with a hidden timestamp at the bottom of the page; we cache for 3600 ...
1
vote
1answer
495 views

IIS 7: Expires header for specific files

I have this configuration for all static content on the site in the root directory: <configuration> <system.webServer> <staticContent> <clientCache ...
1
vote
1answer
643 views

nginx proxy caching and ssi

I am using nginx for caching requests from the upstream apache server, however I want few blocks inside to be fetched from apache all the time. I am hoping ssi can do this, but the SSI tags are ...
1
vote
1answer
503 views

apache tomcat IE caching problem

I'm running apche2 and tomcat6 both on port 80 with mod_jk setup on ubuntu servers(8.10,9.10). Tomcat is being used for serving jsp pages. I've a small problem with the IE browser which doesn't cache ...
0
votes
1answer
54 views

Update Cache-Control max-age when srcache returns response from cache

I have configured Nginx to use srcache (along with the redis and redis2 modules). Server-side caching works great. My application responds with the appropriate Expires and Cache-Control headers, and ...
0
votes
1answer
30 views

images not cached with self-signed SSL certificate

I'm experiencing a problem where certain content (images) are not being cached when loaded from an https connection. The issue is occurring on both local and remote hosts, both are using self-signed ...
0
votes
1answer
103 views

How do I set up Apache HTTPD as a proxy service for HTTPS?

I am trying to set up a proxy service for a packaging service (npm and bower.io) and I’d like to cache the packages locally. My Apache configuration: Listen 127.0.0.1:10010 Listen 127.0.0.1:10011 ...
0
votes
1answer
16 views

Caching proxy access control

I want to use a caching proxy to force all connections on my page over SSL, and let the unsecure connection be handled by the proxy. This proxy is accessible from the web. Now I was wondering what's ...
0
votes
1answer
57 views

How to do Caching only for specific IP's, in Nginx or Rails

We have a Rails 2.3.8 app running on a nginx/passenger server. Recently the crawlers generate a huge load on us. We'd like to turn on page caching ONLY for crawlers (specific IP addresses), i.e., ...
0
votes
1answer
182 views

Chrome not caching CloudFront video/audio; CloudFront delivers http 1.0 headers

With the following response header: HTTP/1.0 200 OK Content-Type: video/mp4 Content-Length: 3294545 Connection: keep-alive Date: Thu, 30 May 2013 21:17:34 GMT x-amz-meta-s3cmd-attrs: ...
2
votes
0answers
416 views

How can I exceed the 60% Memory Limit of IIS7

Pardon if this is more stackoverflow vs. serverfault. It seems to be on the border. We have an application that caches a large amount of product data for an e-commerce application using ASP.NET ...
1
vote
0answers
62 views

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 ...
1
vote
0answers
40 views

How to make BIND return old cached enties if all forwarders are failed?

I have a local forwarding BIND server installed at localhost. In its configuration there is a couple of forwarders: options { ... forwarders { 1.2.3.4; 5.6.7.8; }; ... }; Servers which are pointed ...
1
vote
0answers
216 views

Nginx, wordpress: Unable to proper reverse proxy caching due to Set-Cookie. Recommendation for a good strategy

I am trying to do reverse proxy caching for a wordpress blog and I am hit with snags. The initial configuration was a simple reverse caching like this location / { proxy_cache_key ...
1
vote
0answers
69 views

File-based reverse proxy cache with lru gc?

For a project I'm working on I need a file-based reverse proxy cache where I limit the size of the cache to some setting and have the ability to "gc" the cache based most likely on a lru algorithm. ...
1
vote
0answers
414 views

ASP.NET, IS7 and IE8 caching?

We're suddenly having problems with some of our sites having old versions of .css and .js files show up in the browser. Generally, these problems go away, when the user clears cache in the browser. ...
1
vote
0answers
165 views

Is it possible to detect IIS kernel mode caching from the client?

My company has software that has a critical bug associated with kernel mode caching. We have distributed a fix, but we want to be aware of who has not applied the fix. I would like to know if it is ...
1
vote
0answers
345 views

IIS 7.5 Caching Classic ASP Responses and Static Files

I have a really hard time migrating from Windows Server 2003 to Windows 2008 R2. My ASP code seems to work but after a while users start complaining they see other people's responses! User 1: Search ...
1
vote
0answers
271 views

Browser continues to request headers of cached files, even after instructing it otherwise

I am trying to add a expires header to the nginx configuration like this : location ~* \.css|\.js|\.jpg|\.jpeg|\.png|\.gif|\.swf|\.svg|\.tiff|\.pdf|\.ico$ { expires max; ...
1
vote
0answers
262 views

Nginx Seems to be Sending Cached Versions of Pages

I have installed nginx, and things work very well for production, but I sometimes have this problem when developing. To reproduce the problem, I have done the following: Create a file in a public ...
1
vote
0answers
339 views

HTTP header says “no-cache” only in IE

I'm running IIS7 - and for some reason the HTTP headers indicate a cached page has been served (e.g. Firefox's Firebug shows 304 Not Modified) yet the same page in fiddler for an IE8 request it says: ...
0
votes
0answers
14 views

Is it possible to use FastCGI_cache on nginx load balancer?

I am trying to setup a load-balanced small cluster to accommodate growing traffic on my WooCommerce site. The topology is going to be like this: Load balancer running nginx 2 application servers ...
0
votes
0answers
67 views

Cachefilesd (cachefiles) everything seems to be set up, still not working

I'm trying to set up cachefilesd to work with my network folder shared using NFS. I have seemingly everything set up, however cachefilesd starts normally, however caching isn't functioning. Here is ...
0
votes
0answers
41 views

Does Apache or Nginx Proxy serve the browser caching directives?

I am running nginx as a proxy for my apache server. I am trying to leverage browser caching for PNG and JPG files. Which of these two should have the caching settings applied? I believe they both have ...
0
votes
0answers
24 views

Altering Cache value based on php response of an image or html in Nginx

I'have a set up where a PHP script dynamically creates images based on size and the device requesting them. Everything is working fine apart setting a higher cache expiry for images when they are ...
0
votes
0answers
57 views

How to use Redis as a cache backend for uwsgi_cache in Nginx

I'm using Nginx with HttpUwsgiModule and i want to perform caching. I know that there is a uwsgi_cache which can be used to cache pages on the local file system. But i want to use Redis to cache pages ...
0
votes
0answers
136 views

Attribute caching of dovecot maildir boxes over NFS

I admin a mail server cluster: there're two different hosts that use a common NFS share to store maildir. Dovecot is the LDA. CPU load on NFS is really high, although real i/o operation on the disk ...
0
votes
0answers
68 views

Are there any performance benefits when using Redis caching combined with Nginx caching?

I came across these posts about putting Redis in front of Nginx. I also noticed the Nginx HTTPRedis module. Which seem interesting from a performance standpoint, but I don't have much experience in ...
0
votes
0answers
36 views

nginx - BOA: “[alert] stalled cache updating” when running purge

I have BOA 2.1.0 installed, which uses nginx. Default caching is running by nginx. Unfortunately, whenever I am issuing a purge command, curl -X GET -H "Host:www.domain.com" ...
0
votes
0answers
282 views

Nginx does not cache json

I have the following nginx configuration user nginx; worker_processes 10; pid /var/run/nginx.pid; events { worker_connections 1000; } http { sendfile on; tcp_nopush on; tcp_nodelay ...
0
votes
0answers
33 views

Amazon cloud front caching is not working

we have setup in such a way that end user request goes to Amazon cloud front and if cached resource is available on Amazon Cloud front otherwise it will forward request to origin (nginx server on ...
0
votes
0answers
45 views

Clear NGINX cache using FTP

I have an NGINX server set-up to handle caching for a website (running elsewhere). Works like a charm, however we want to administrators to have an option to flush the cache from their backoffice. I ...
0
votes
0answers
296 views

Apache Tomcat browser caching with expires module

I'm using Apache Tomcat with mod_jk for our sites on Ubuntu servers. I'm trying to cache all the images in the browser for faster reloading of web pages. I have few images from CDN and some are in ...
0
votes
0answers
11 views

Caching response from an authenticated API

I'm hoping to start work on a REST API to be used internally, it will require authentication, probably just using HTTP basic auth, but in many cases all that will be used for is verifying that the ...
0
votes
0answers
66 views

How to prevent nginx from caching certain files?

Is it possible to configure nginx to never cache certain files? I have two files on the root directory, index.html and list.json, and I want to disable caching for them completely. Can this be done by ...
0
votes
0answers
453 views

How to add a custom header despite a RewriteRule redirecting to 304?

I have an apache2 server set up to return 304 responses when appropriate. I implemented it with a rewrite rule, like so: <VirtualHost *:9290> (...) Header set Last-Modified "Tue, 01 Jan ...
0
votes
0answers
195 views

APC is behaving weirdly in combination with PHP5-FPM and Nginx

I've got APC running on my Ubuntu 13.04 Server box for quite a while now. A couple of days ago, something, somewhere went wrong and now it's acting very strangely. I'll lay it out. APC 3.1.13 ...
0
votes
0answers
51 views

How do I figure what process is caching DNS

There seems to be some form of DNS caching on my machine as my networking scripts continue to give gaierror even after a broken connection has been reinstated. There is no nscd installed and dnsmasq ...
0
votes
0answers
192 views

nginx caching and proxy pass

I'm trying to use nginx to proxy CDN use for our site to prevent raw video access when people put the CDN URL into their browser, and instead redirect them to a video page. If it's not a cacheable ...
0
votes
0answers
232 views

Oracle VirtualBox files being cached using shared folders

I'm hosting a static website (html/css/javascript) as a virtual host on a Fedora 15 Linux instance running Apache 2.2.21. for some strange reason, Apache seems to be caching the files even though I ...
0
votes
0answers
94 views

What is the upper limit for cache folder when using Apache's MOD_CACHE module

I noticed tonight my server ground to a halt. SSH, plesk and the actual site itself were all totally unavailable. Services seemed to resume just as I got to the front of the support queueto be ...
0
votes
0answers
471 views

Squid Reverse Caching Proxy with ACL and Delay Pools

I have to configure a Reverse Proxy Caching Squid box to do: Define Content groups, e.g. images containing gif, png, ico, jpg, jpeg, etc Audio containing mp3, wav, ogg etc Video Archives Binary ...