A location or process for storing of transitory or temporary data in order to improve application or system performance.

learn more… | top users | synonyms

3
votes
2answers
82 views

When does Postfix act like a client?

When does Postfix act as a client? When it sends mail to the outside world? I'm trying to decide if I should set smtp_tls_session_cache_database. There is a similar setting called ...
1
vote
1answer
131 views

How to actually set max-age headers on Windows Server?

I've set the max age to 1 minute, but when I look at the response headers, I see max-age=86400 (one day). Is something else overriding this setting? I've also set the kernel cache to 1 minute for ...
1
vote
2answers
71 views

Determining where a file is being cached

I've got a debian webserver running apache, from which I regularly download an executable using IE 8 on an XP virtual machine (over LAN). However, I realised that somewhere along the line that I've ...
1
vote
0answers
44 views

apache reverse proxy - make static content cachable

I have an apache web server (reverse proxy with mod_proxy) in a front of a tomcat java application. to improve performance, i would like to make static content (css, javascript and images) cachable ...
4
votes
3answers
567 views

Let varnish send old data from cache while it's fetching a new one?

I'm caching dynamically generated pages (PHP-FPM, NGINX) and have varnish in front of them, this works very well. However, once the cache timeout is reached, I see this: new client requests page ...
0
votes
1answer
52 views

Varnish Inconsistently Evicting Pages from Cache

In our varnish config we have a vcl_fetch function defined as follows: if (beresp.ttl > 0s) { /* Remove Expires from backend, it's not long enough */ unset beresp.http.expires; /* Set ...
0
votes
1answer
46 views

How do I cache request-tracker4?

I've been using request tracker v4.0.8, over a relatively high latency internet connection, and I noticed that many (all?) of the supposedly static resources (css, javascript, images) are located in ...
0
votes
0answers
18 views

Unidentified cache on server

Im having a strange issue with a server part of an enterprise Cloud. It have some cache service, but I don't know what is it, or how to disable it. Its an ubuntu + apache server, and my app its ...
-1
votes
3answers
5k views

How to clear nginx cache [closed]

My nginx config here: http://p.ngx.cc/0c This link http://aa-tour.ru/static/system/css/style.css show me old cached version of file, how to remove it and clear cache? This is correct (new) version of ...
0
votes
2answers
157 views

Can Squid 2.7 proxy gzipped content

We have a forward proxy for our network which is Squid 2.7. This is managed for us by a third party. We noticed recently that http requests going from our network to the web were having the ...
0
votes
2answers
169 views

Skipping nginx PHP cache for certain areas of a site?

I have just set up a new server with nginx (which I am new to) and PHP. On my site there are essentially 3 different types of files: static content like CSS, JS, and some images (most images are on ...
0
votes
0answers
26 views

nginx to not cache for frontpage

How to setting nginx to not cache for homepage (www.mywebsite.com or www.mywebsite.com/index.php) Here is my code but its not working location = / { expires 0s; add_header ...
1
vote
1answer
90 views

Selective .js cache on nginx

I have one .js file that can't be cached by the browser. Because of this file, I have this in my nginx configuration file: location ~* .(js)$ { expires epoch; log_not_found off; access_log off; } ...
0
votes
1answer
47 views

Set expires for all virtual hosts nginx

Is it possible to set expires for all virtual hosts (servers) in nginx while still filtering the filetypes? Right now I'm using location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|otf|ttf) { ...
16
votes
3answers
2k views

How effective is LSI CacheCade SSD storage tiering?

LSI offers their CacheCade storage tiering technology, which allows SSD devices to be used as read and write caches to augment traditional RAID arrays. Other vendors have adopted similar ...
3
votes
1answer
332 views

How do I set a varnish response TTL dynamically?

my php script is sending a header X_Cache_ttl: 1h and in my varnish config file I have sub vcl_fetch { if(beresp.http.X-Cache-ttl){ set beresp.ttl = beresp.http.X-Cache-ttl; } } ...
13
votes
1answer
1k views

Hardware RAID controller cache battery failure frequency/lifetime?

I'm in an environment that contains many Supermicro servers equipped with Adaptec and LSI MegaRAID hardware RAID controllers. These controllers contain battery-backed cache modules to help boost write ...
0
votes
0answers
37 views

eAccelerator causes the server to deliver gibberish data

I'm trying to integrate eAccelerator into my server infrastructure using the ELS script. But when I activate it, it causes the gibberish data (shown below) to appear instead of the real content. There ...
0
votes
0answers
232 views

“Could not display DNS Resolver Cache.” => Ping to hostname not possible, ping to IP directly works

Problem: DNS Cache doesn't work: "Could not display DNS Resolver Cache." Additionally (as a result?) I cannot ping directly to target server name, although the resolve step to the actual IP ...
8
votes
1answer
532 views

How does Varnish deal with running out of storage?

I am using Varnish 3.0.3 (the latest as of this writing) with more or less the default install, using the following for storage: # # Cache file location ...
1
vote
1answer
93 views

Apache forces Cache-Control: private automatically for HTTPS requests

I'm trying to get browsers to cache assets over HTTPS. I am using MD5 fingerprinting method to allow long-term caching and I have this part working OK. What doesn't work is setting the Cache-Control ...
0
votes
0answers
59 views

Cache layer for Heroku-hosted mobile-server app

I am developing a mobile app, backed by a server hosted on Heroku. There will be a continual polling of the server by the client, to check for changes in state. To avoid hammering my Heroku servers I ...
3
votes
2answers
877 views

sssd and ldap authentication cache

On our box running OpenSUSE 12.2 we have installed OpenLDAP and sssd daemon. We are using these two services for user authentication. Recently we created a script which creates new web-users for our ...
0
votes
0answers
80 views

How to purge proxy.pac cache on Internet Explorer and how to control how long it can be cached

We recently modified proxy.pac & wpad.dat file on our servers. How do we force IE to fetch the new .pac or .dat files? Going ahead, is there any way to specify Expiry or cache control headers?
1
vote
0answers
92 views

Stunnel + Varnish + Apache questions

I am currently running Varnish in front of apache for all http traffic. I added stunnel so as to take advantage of the cache for https connections as well. So, for https, stunnel talks to varnish ...
-1
votes
1answer
225 views

limit filesystem cache size for specific files under linux

I have a directory with many files with high access rate. And I need to reduce the cache pressure of this specific directory to prevent other files (like my home directory files) from the pushing out ...
0
votes
0answers
61 views

Apache/mod_expires adding caching headers to POST responses

I have Apache 2.2.3 serving up (mostly) php content, and am adding headers to manage caching using mod_expires. This works well overall, but I've noticed that the value of ExpiresDefault is being used ...
1
vote
1answer
39 views

caching images with apache reverse proxy

I'm trying to set up an apache2 reverse proxy to cache images. (Apache, not nginx required) There appear to be headers being cached, but not images,css etc. My config: CacheEnable disk / ...
0
votes
1answer
126 views

Output caching in IIS doesn't work for Wordpress php files

I enabled output caching for php files <configuration> <system.webServer> <serverRuntime frequentHitThreshold="1" frequentHitTimePeriod="00:00:30" /> <caching> ...
2
votes
2answers
168 views

Event 34 on Windows 2008 R2 write cache and sysvol on system drive

I have Windows Server 2008 R2 running as Active Directory Primary Domain Controller. Since our domain is not large, I put the SYSVOL and NTDS folders in the default location on the system drive (SSD ...
0
votes
1answer
383 views

Squid proxy refusing to revalidate cache when Vary header present

squid.conf cache_effective_user squid http_access allow all # Squid normally listens to port 3128 http_port 3128 accel defaultsite=localhost no-vhost ignore-cc cache_peer localhost parent 80 0 ...
4
votes
1answer
778 views

Squid proxy not caching anything

squid.conf: http_access allow all # Squid normally listens to port 3128 http_port 3128 accel defaultsite=localhost no-vhost cache_peer localhost parent 80 0 no-query originserver name=myAccel ...
0
votes
1answer
246 views

Ignore certain URLs on Varnish Cache

I'd like that Varnish completely ignored certain URLs on my websites. I.e., www.site1.com/fileuploader and www.site2.com/fileuploader I have 4 websites on the same VCL, and all those websites are ...
0
votes
0answers
52 views

Auto optimization MySQL databases — reduce fragmented cache build up

I'm looking for ways to auto optimize MySQL for a shared hosting server to keep the cache from getting fragmented and built up. this is a 74GB server so I have a lot of ram. So far I have found the ...
3
votes
4answers
1k views

Slow Memcached: Average 10ms memcached `get`

We're using Newrelic to measure our Python/Django application performance. Newrelic is reporting that across our system "Memcached" is taking an average of 12ms to respond to commands. Drilling down ...
0
votes
1answer
84 views

Nginx: Cache uWSGI as accessible files

I'm still pretty new to Nginx, but I know that it serves static files very well. For this reason I want to use Nginx together with TileStache as a map server. TileStache has got a WSGI application ...
1
vote
1answer
2k views

My pages are not getting served from cache.But nginx is actually caching the files

i have set up an nginx server in ubuntu as a reverse proxy cache server.My application code resides in /var/www/myapp folder. following are the configuration i have given in server { listen ...
0
votes
1answer
340 views

how to delete single nginx cache file?

when access http://mydomain.com/ its blank but working good with http://mydomain.com/index.php i need to delete nginx cache file for http://mydomain.com/ how to do it? Here my nginx cache conf. ...
0
votes
2answers
280 views

Wordpress feed does not update after APC and Cloudflare

I am running a Wordpress site on a Ubuntu server. I installed APC and setup Cloudflare. After that I started having a strange problem with the feed. When I check the feed on the browser, I can see ...
-1
votes
1answer
14 views

cache external responses

Is it possible to set up an caching proxy server to cache responses back to our system(s) from an external service that we use. My first thought is some sort of caching reverse proxy mechanism where ...
0
votes
1answer
220 views

Varnish: Exclude section of page

Is there any way to exclude some webpage parts from cache? For example, I have Recent Additions block on my homepage which gets refreshed after every 15mins. I know there is something like ESI ...
0
votes
1answer
47 views

nginx didn't cache page

I have FreeBSD server with nginx as reverse proxy. When I test it with ab util, I see some strange things, such as: Internal pages aren't cached. Main page is cached, but sometimes the non-cached ...
0
votes
1answer
92 views

autoscale static content on ec2 using local cache

Hello Serverfault members. I want to achieve the following setup on EC2: A load balancer starts and stops instances which only serve static content. (a javascript based application) I do not want to ...
0
votes
1answer
312 views

Nginx ssi with proxy_cache hanging after first request

I am using Nginx's proxy cache for our dynamic pages and have recently integrated ssi. The first page load works fine but once the page is cached and another request comes through the page just hangs. ...
0
votes
1answer
110 views

squid:how to keep cached contents up-to-date

Is there a way to let squid check if cached contents are outdated?If cached contents ARE outdated,how to let squid fetch the newest contents from original server?
0
votes
1answer
113 views

X-Cache: MISS from log2cache.spacecom.in

curl --head http://mashable.com HTTP/1.0 200 OK Status: 200 OK Content-Type: text/html; charset=utf-8 X-UA-Compatible: IE=Edge,chrome=1 Cache-Control: public,max-age=641,must-revalidate ...
1
vote
2answers
28 views

debugging cache control

How can I check if a website is being cached correctly? I would like the webpages to be cached by browsers, but I also would like that page updates be visible immediatly when a user visits teh ...
0
votes
1answer
333 views

How does Nginx reverse proxy cache work?

I don't understand how a reverse proxy with caching works. Let's assume that the cache is empty. User1 loads index.php (dynamic content). There's no cache, so Nginx queries the php file. The server ...
0
votes
2answers
80 views

Has L2 cache stopped getting faster? [closed]

I was reading this question which references L2 cache hits as taking about 10ns: Are networks now faster than disks? However I distinctly remember there being 10ns cache ICs for the 486 generation. A ...
1
vote
1answer
123 views

Reliably test ColdFusion server health

The Background We're running a Varnish cache server in front of a CF/Apache2 backend server. The varnish box runs a healthcheck probe every two seconds as follows: probe healthcheck { .url = ...