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
174 views

Caching DNS server returns invalid ip address for external lookups

I'm trying to resolve a DNS issue and am running short of ideas. Google doesn't seem to be helping, either. When I use my local caching name server to resolve external host names, it always returns ...
3
votes
1answer
868 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
109 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
184 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
35 views

Rewrite a url to a a new URL and then send the new URL to a PHP script

I have URLs that contain a cache busting string. I want to rewrite these URLs without the cache busting string, and then send the rewritten URLs that match a certain criteria (e.g. audio/video files) ...
1
vote
1answer
13 views

IIS Output Caching with ISAPI extension

I have an application running in IIS via an ISAPI extension with outputs JSON files based on the input URL (it works with a RESTful interface - the URLs are of the form ...
1
vote
1answer
77 views

apache expires not working for pyramid server

I have a pyramid server running on EC2 via apache with following configuration - <Directory path_to_virtual_env> WSGIProcessGroup pyramid Require all granted Order allow,deny ...
1
vote
1answer
394 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
595 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
124 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
170 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
549 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
552 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
735 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
570 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
26 views

mod_expires does not affect caching

I have mod_expires installed in Apache on CentOS VPS. It is also listed in the loaded modules, I checked by this command /usr/local/apache/bin/httpd -l When I place the code in .htaccess, and then ...
0
votes
1answer
15 views

Nginx: Tracking try_files misses

We are using try_files as cache rather than hitting the UWSGI to serve the file. Using a rule like the following: try_files $uri @uwsgi_app; I was wondering what is the best way of logging the ...
0
votes
1answer
19 views

Varnish 3 ignore the req.backend directive

Varnish3 is ignoring the req.backend directive. As explained on the documentation (here), I've set two backends, and the regex for redirecting the request to the correct one. By the way, seems liks ...
0
votes
1answer
52 views

How to read apache header in NGINX?

I've set up nginx to bypass ajax requests (wich have header): set $accel "0"; if ($http_x_requested_with) { set $accel "1"; } proxy_cache_bypass $accel; It works fine, but I want be able ...
0
votes
1answer
394 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 ...
2
votes
0answers
477 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
26 views

LSA SID cache keeps old entry for renamed domain user - why?

I have a question about LSA SID cache on a domain member server. Recently I run into the issue when some users after their name was changed in AD has difficulties accessing application I support, and ...
1
vote
0answers
11 views

NVA: rewrite before or after Varnish?

I'm planning an NVA server system (Nginx-Varnish-Apache), where request are routed through in that order. Apache would be serving WordPress CMS or similar. I'm wondering where to apply additional ...
1
vote
0answers
47 views

How cache OpenLDAP Meta database (for use with Websphere Application Server)?

I have configured Meta database directory on OpenLDAP server for two different Active Diretories and it's work. But now I'd like set cache for this OpenLDAP, but I don't know how. From my slapd.conf ...
1
vote
0answers
292 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
49 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
271 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
77 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
457 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
170 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
399 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
328 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
289 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
342 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
51 views

How can I configure Apache so clients cache images but still check for updates?

I'd like to set up an Apache vhost such that browsers will cache images locally but will check back against the server for updates each time prior to displaying images. I have this currently: ...
0
votes
0answers
13 views

Moved site from IIS6 to IIS7.5 - caching confusion

I have moved an old ASP.net (net v3.5) from Win2003 to Win2008R2 with IIS7.5 The old site has a huge long list of cached ISAPI extensions. Output caching is enabled on IIS7.5. Do I need to add the ...
0
votes
0answers
60 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
489 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
68 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
45 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
126 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
260 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
67 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
448 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
43 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
61 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
88 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
270 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
60 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
239 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 ...