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

Linux ZFS does not buffer writes to write buffer (SLOG/ZIL)?

When experiencing write I/O, the log column in zpool iostat -v does not show any ZIL activity, ever. This results in higher than expected wait times when writing data to disk (sometimes over 80ms ...
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 ...
0
votes
1answer
25 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 ...
1
vote
0answers
23 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 ...
-2
votes
0answers
9 views

I just moved entire website to a new server, but am still getting traffic to my old one (caching issue?) [migrated]

I just sold a website, so I transferred everything to new owners' server. The name servers are now pointing to his server as well. I also replaced all of my Adsense tags with the buyers'. However, I'm ...
1
vote
0answers
9 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 ...
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 ...
-1
votes
0answers
29 views

Cache php calls on client side [migrated]

I own a website hosted on a debian 7 machine running nginx. When a user logs in, I serve him a lot of generated by php. Some of these files are always the same. Is there a method to cache them on a ...
0
votes
1answer
25 views

Force AWS CloudFront to refresh resources from origin without user requests

I'm deploying a CloudFront distribution for a widely distributed network. I'm using my own server as origin and I've configured the cache expiration to a custom value (say 24 hours). Everything works ...
0
votes
2answers
68 views

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at ...
0
votes
1answer
99 views

Nginx: using X-Accel-Expires with Cache-Control

I'm using Nginx as a caching proxy server. I have problems with caching responses using both X-Accel-Expires and Cache-Control headers. My upstream returns some request body with headers to nginx: ...
-1
votes
1answer
55 views

Web caching to reduce bandwidth on low speed connections [closed]

On my company we have an ISA Server proxy we use to access internet, this server is managed by external administrators and we do not have access to modify its configurations. Lately we have been ...
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 ...
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
51 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
49 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
12 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
40 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
65 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
553 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
170 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
75 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
58 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
97 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
58 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
372 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
270 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
72 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
706 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
477 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
2k 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
155 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
65 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
63 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
42 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
75 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
2answers
202 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
272 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
182 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
122 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
538 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
383 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
82 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
576 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
254 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
628 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
66 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
156 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
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 ...
0
votes
0answers
439 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 ...