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
1answer
32 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
34 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. ...
0
votes
0answers
26 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
24 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
29 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
56 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
72 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
59 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 ...
0
votes
1answer
78 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
66 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 ...
1
vote
1answer
108 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
23 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
12 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
66 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
26 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
171 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
25 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
117 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
61 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
32 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
14 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
78 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
361 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
242 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
205 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
120 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
49 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
0answers
218 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
8 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
1answer
49 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 ...
0
votes
1answer
115 views

“Syntax error at 'input'” when restarting Varnish; something wrong with default.vcl

Here's the default.vcl, varnish configuration file, that I've built after lots of reading and referring: backend default { .host = "127.0.0.1"; .port = "8080"; } acl purge { "localhost"; } # ...
1
vote
2answers
45 views

Varnish keeps caching subdomains I ask it not to

I'm trying to configure varnish not to cache any domain that begins with "staging" using the pass method like so: if( req.url ~ "^(staging.)" ) I suspect I'm using VCL selectors wrong but after ...
2
votes
1answer
67 views

Nginx and js/css versioning via browser's cache

I want to easily clear the browser's cache when js/css files are updated. Real file location: /js/some-files.js /css/some-files.css File location set in the app to be called by browser: ...
0
votes
1answer
32 views

Does nginx cache the unencrypted responses when using HTTPS?

I thought public cache was not possible when using HTTPS since every response was different (due to encryption), but just now I realized one could at least cache the unencrypted response, and the only ...
0
votes
1answer
157 views

Microcaching with nginx & uwsgi [closed]

i am running my personal website written with python on nginx with uwsgi. Since the site is very static i want to improve the performace by adding microcaching. Both nginx and also uwsgi do offer ...
0
votes
0answers
52 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
136 views

Need help to understand why I get a CACHE MISS in nginx

Hi I am using customized Akamai box for Caching and we are using nginx as proxy+caching. Architecture is like Origin(Original source of content) || Parent Cache(Nginx running) || Edge Cache(Nginx ...
0
votes
0answers
310 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
1answer
47 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., ...
1
vote
1answer
44 views

detect return code (mode) in varnish hook

In vcl_recv I decide whether to pass or lookup based on the existence of a cookie: sub vcl_recv { if (req.http.Cookie ~ "(JSESSIONID=)" ) { /* do not cache logged in users */ ...
2
votes
1answer
526 views

Purge varnish cache for a single url using varnishadm

Varnish is being used in a Wordpress website. I would like to purge Varnish for a single URL instead of a whole domain. With this command I can restart Varnish for the whole domain: varnishadm -T ...
0
votes
2answers
74 views

Web caching with SSL connection and dynamic contents

I have some questions about web-caching systems. If I use systems like Squid, Varnish as reverse-proxy in front of my architetture: Is possible to have SSL connection from user to my proxy and SSL ...
0
votes
1answer
37 views

What type of caching is involved in the displayed usernames of file owners/security on member servers

One of our domains has two Windows 2008 r2 servers: a domain controller which also holds all the FSMO roles and member server. If I rename a domain user, then use Windows explorer to look at a file ...
0
votes
0answers
200 views

Making a Ligthing Flash Magento store with Nginx on AWS Elastic Beanstalk with Minimum Resource Utilization

I'm going to install Magento on AWS Elastic Beanstalk t1.micro (free tier), on Windows or Linux + Nginx + Php-fpm + eAccelerator, CDN (cloudfront), MemcacheD. I will ask my developer to make my ...
1
vote
1answer
101 views

What config files does Apache currently have loaded

I'm using Openpanel on my Ubuntu server (fully updated/upgraded last night) and I've got a small issue where I'm sure not all of my config files are being included and thus causing issues with not ...
0
votes
1answer
155 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: ...
0
votes
0answers
141 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
3answers
134 views

Is it possible to cache subversion?

Is it possible to cache subversion at all? May be any commercial solution? Any help would by highly appreciated.
4
votes
1answer
155 views

Data syncing behavior for filesystems in Windows

In Linux mounting supports commit option, which is described in mount(8) man page as: commit=nrsec Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero ...
0
votes
5answers
661 views

Configure Squid to cache images explicitly called from img src=“”

Instead of hot-linking to external images from my application I'd like to cache them on my server where my web app resides, e.g. instead of <img src="http://api.domain.com/image/1234.jpeg" /> ...