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

learn more… | top users | synonyms

1
vote
1answer
207 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
74 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
3k 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 ...
2
votes
1answer
172 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
411 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 ...
1
vote
1answer
56 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
258 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
298 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 ...
1
vote
2answers
601 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
2k 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 ...
1
vote
1answer
431 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 ...
5
votes
4answers
3k 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
134 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
3k 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
858 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
405 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
16 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
433 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
90 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
109 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
530 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
179 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
144 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
32 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
439 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
90 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
177 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 = ...
1
vote
3answers
184 views

nginx + php-fpm + varnish + ssl

I have a social networking site and because of that we want to run ssl all the time. does this defeat the purpose of using any type of cache system for even static content since everything will be ...
0
votes
1answer
452 views

PHP APC not working

I just installed APC with PHP Handler FastCGI. But it seems the Cache never working. if(($t=apc_fetch('key_4321'))===FALSE){ $t=time(); apc_add('key_4321', $t, 24*60*60); } echo $t; Almost ...
0
votes
1answer
1k views

Nginx proxy cache (proxy_pass $request_uri;)

I need to create proxy web using nginx. If I access http://myweb.com/http://www.target.com/ the proxy_pass should be http://www.target.com/ Here is my configuration: location / { proxy_pass ...
-2
votes
1answer
226 views

Can I use Varnish to front 2 different services from different servers on 1 domain? [closed]

I've been futzing around with getting this set up however I don't know if Varnish supports what I am trying to do: I have a server (ec2) thats running Nginx/Magento for ecommerce (www.domain/) On ...
0
votes
2answers
113 views

Set “expires” in nginx for multiple vhosts

I use the "apache style" nginx config (include /sites-enabled folder files and a single .conf for every website I host). How can I set this: location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; ...
0
votes
1answer
926 views

Nginx fastcgi_cache_path

I'm new to Nginx. My nginx cache setting in the nginx.conf fastcgi_cache_path /dev/shm levels=1:2 keys_zone=my-cache:100m inactive=7d; What is it means? the level, 100m and inactive=7d ? Thank's ...
2
votes
1answer
327 views

Squid takes 2 minutes to cache a small pdf

We are having a problem that certain pdf from a specific url take a long time to display. Squid seems to use a long time to cache it (over 2 minutes) for 110kb. If I browse this pdf without going ...
0
votes
1answer
283 views

Ideal Varnish & nginx setup to ensure cache consistency across multiple instances

Looking for the ideal setup involving nginx as our top layer load balancer that distributes load across multiple Varnish instances. What is the best way to distribute this load? One way would be to ...
1
vote
1answer
859 views

Push content to Apache Traffic Server's Cache

I am trying to use push cache option of Apache Traffic Server(ATS), to push some content into my cache. I read the documentation, and tried to follow it but I have following questions/problems using ...
0
votes
2answers
106 views

Manipulate Data in the cache proxy server DB

I am wondering if it is possible to manipulate (Insert/Delete) data in the cache proxy server DB... well I'm not sure how a cache proxy server store the data. But What I am interested in is to add ...
2
votes
4answers
1k views

Statically mirroring a heavy trafficked site, CloudFlare as DNS

I run a fairly heavy trafficked website and due to some unfortunate incidents the machines that are in my cloud at Linode went down. And I have only a single Load Balancer machine exposed to the ...
0
votes
1answer
112 views

Does nginx cache (copy) my images?

I'm using http public cache all over an images website to allow clients and anyone between the clients and my server (eg: cloudflare, isp, etc) to cache HTML, assets (js/css/icons), and images (the ...
0
votes
2answers
3k views

“example.com/cgi-sys/defaultwebpage.cgi” subdirectory constantly appearing instead of base url in Google Chrome

Centos cPanel server - Apache/PHP. Why is this happening? Can I can change the server configuration to guarantee regular users don't get this error? It is a production server for an e-commerce ...
1
vote
1answer
818 views

Apache cached old ssl certificate

About 2 weeks ago I bought a new wildcard SSL certificate for all of my servers, and immediately tried to set it up on a server by replacing the old self-signed certificate settings. So, I put in the ...
0
votes
1answer
641 views

IIS and Static content?

Files that the browser retrieves from the server should be stored in the browser’s cache as long as possible to help minimize server round-trips. But how does IIS knows what is actually a ...
0
votes
1answer
199 views

Cache memory Ubuntu 12.04 [duplicate]

Possible Duplicate: Why is Linux reporting “free” memory strangely? I have noticed that the cache memory on my vps always stays around the max value. I have nothing running at the moment ...
4
votes
3answers
979 views

NGINX : Cache when X-Accel-Expires is set

I have added a X-Accel-Expires header on my static contents as well as a Last-Modified header. I would like to know whats the correct setting to cache those elements without caching anything else. ...
1
vote
2answers
110 views

In a vanilla Ubuntu LAMP + virtualmin server, how do i allow cache?

I recently set up an Ubuntu 12.04 server with the default LAMP task. Also added virtualmin. All requests to apache return this in the headers. Cache-Control:no-store, no-cache, must-revalidate, ...
3
votes
1answer
52 views

Using a 3rd server for caching database and static content

So, I just "won" a free year for a basic VPS with 5GB storage and 256MB ram and I thought that the best thing I could do with it is to separate the memcache service from each of my other 2 servers and ...
1
vote
2answers
1k views

How can I get Nginx to tell Firefox to cache my content?

The following headers (from a static media response) don't lead to caching in Firefox. In Chrome they do. HTTP/1.1 200 OK Server: nginx Date: Sat, 22 Dec 2012 21:20:39 GMT Content-Type: ...
2
votes
2answers
1k views

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
3
votes
1answer
140 views

Increasing the maximum DNS record size on a Cisco 800 Router

Is it possible to increase the maximum record size/cache size supported by the DNS server embedded in a Cisco 800 series router (886VA in my case)? I cannot query large (1500b) TXT records without ...
2
votes
3answers
157 views

Will a raid cache be better for performance than hard drive cache speeds?

In a device that has raid 5, and a "raid cache" of 4GB, does this help performance? I have 32MB cache hard drives but I was wanting to know if the 4GB cache will make up for the difference in ...