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

0
votes
0answers
17 views

OpenLDAP caching meta

I have configured Meta on OpenLDAP server for two different Active Diretories and it's work. But now I'd like set caching for this, but I'm not sure how. From my slapd.conf database meta suffix ...
0
votes
1answer
12 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
27 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
0answers
22 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
7 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 ...
-2
votes
2answers
37 views

Will Varnish recreate cache?

I want to cache pages on my nginx site for fast retrieval. Let's say every 5 hours I want to expire all the cache and have it recreated. Will Varnish make calls to the web-server and recreate cache on ...
-1
votes
1answer
38 views

What is the difference between proxy_cache_ and fastcgi_cache?

I was searching for a simple Nginx microcache solution and I end up seeing two ways to have microcache. Some tutorials use proxy_cache, while others fastcgi_cache. What are the differences, pros and ...
0
votes
2answers
299 views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
3
votes
1answer
129 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 ...
1
vote
1answer
61 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 ...
0
votes
1answer
43 views

Couchbase Community Edition as a Cache

It is mentioned here(www.couchbase.com/memcached) that couchbase can be used as the caching layer. I am supposed to use the community edition for my caching layer. As found in Internet, there are many ...
2
votes
2answers
90 views

Mirror/Cache Websites on a Mobile Server

I have been asked to determine the feasibility of mirroring or caching websites on a mobile server on a train. Unfortunately, this has been dropped on me at the last minute and I have to come up with ...
0
votes
0answers
42 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
1answer
202 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
2answers
197 views

APC file cache not working properly getting internal server error 500

I am having some problem with APC working properly. File cache always shows Hits = 1 and misses keep increasing, but at the same time, the cached file entries show some numbers in hundreds over some ...
0
votes
1answer
52 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
328 views

Is enabling MySQL query_cache_size Innodb Lock Safe?

The query_cache_size looks like the kind of setting that one would usually want enabled which puzzled me since it defaults to 0. Then I read the following about the query_cache_wlock_invalidate ...
0
votes
0answers
308 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 ...
2
votes
2answers
1k views

How to invalidate nginx reverse proxy cache in front of other nginx servers?

I'm running a Proxmox server on a single IP address, that will dispatch HTTP requests to containers depending on the requested host. I am using nginx on the Proxmox side to listen to HTTP requests ...
1
vote
1answer
148 views

VPS SSD hosting or normal RAID 10? [duplicate]

I have built a REST based API (using asp.net WebAPI) which returns RSS feeds to my mobile application. There are around 30,000 active users of my mobile application which access this RSS feed. As per ...
0
votes
0answers
57 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 ...
1
vote
2answers
48 views

Is there a way to clear the Zeus/Stingray cache without using SOAP

There is an example here of how to clear the content cache in Stingray using the SOAP api https://splash.riverbed.com/docs/DOC-1238 However, I know that Stingray does write a lot of things to flat ...
0
votes
0answers
36 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
1answer
62 views

Mirrored cache server on an EC2 Cluster?

I have EC2 instances serving up a non-intensive, relatively low traffic website, and rather than shelling out for ElasticCache I was thinking of doing the caching on each server and mirroring the data ...
3
votes
1answer
152 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. ...
1
vote
0answers
179 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 ...
2
votes
1answer
126 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 ...
0
votes
0answers
94 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
2answers
435 views

Enable nginx browser catching for specific url

How can I enable nginx catch for specific URL? I have a django web app and I put my static files such as CSS, JavaScript and ... in a folder called static and I can access them via ...
1
vote
1answer
307 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
3answers
78 views

Varnish Cache: How does Varnish play with other caching systems?

I'm considering installing Varnish cache in front of my forum platform to speed it up even further. It already runs Percona MySQL DB, PHP 5.5.8 (which has Opcode caching built in, and running) and ...
1
vote
1answer
420 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 ...
0
votes
0answers
203 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 ...
2
votes
1answer
538 views

PowerEdge T110 ii and PERC H200 battery? [closed]

I'm confused. I have a PowerEdge T110 ii server with a PERC S100 card, sad to say, the S100 does not have drivers for Windows 2012 R2, Dell recommends you upgrade your PERC card or forget about the ...
0
votes
0answers
53 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
1answer
146 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 ...
1
vote
0answers
46 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 ...
0
votes
0answers
388 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
39 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 ...
1
vote
1answer
393 views

ARR - dynamically disable disk caching for certain requests (authenticated users)

This is about Application Request Routing and dynamically disabling disk caching for certain requests (where the requests come from authenticated users; whether they're authenticated can be decided by ...
1
vote
1answer
107 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 ...
0
votes
0answers
51 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
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 ...
1
vote
1answer
174 views

Serving a file with an expires header depending on when it was last modified

In nginx is there a way to conditionally serve a file with different expires headers depending on when the file was last modified? For example, if foo was modified within the last week then I want it ...
3
votes
1answer
723 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 ...
1
vote
1answer
1k views

How to configure Varnish not to cache a particular folder?

I would like to set up Varnish as reverse proxy cache for Apache. How can I setup Varnish so that it does not cache content from a particular folder (and its subfolders), let's say ...
0
votes
2answers
1k views

How can I set up Varnish to cache only static content?

I would like to set up Varnish as reverse proxy cache for Apache. How can setup Varnish so that Varnish should serve all static data (jpeg, jpg, png, gif, ico, js, css, txt, pdf, gz, zip, lzma, bz2, ...
0
votes
1answer
244 views

Tell browsers to cache until last modified date changes? [closed]

My web site consists of static HTML files which are usually republished once per day, and sometimes more. I'm using Apache. In the vhost settings for my site, I'd like to tell browsers to cache HTML ...
0
votes
2answers
96 views

website shows incorrect server in some browsers after dns change

Ive recently transferred a domain to a new registrar and pointed it to a new server in the A records. Some computers show the correct server but scarily some of them show the old one. I don't think ...
0
votes
1answer
62 views

Nginx cache entire site while performing MySQL maintenance

I currently have a high traffic WordPress site that is entirely static. But it currently generates each page via the MySQL database anyway (I know I should be caching content). I will be moving the ...