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

learn more… | top users | synonyms

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
8k 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
373 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
271 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 ...
1
vote
1answer
104 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
63 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
3k 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 ...
4
votes
1answer
612 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
2k 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
45 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 ...
8
votes
1answer
828 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
146 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
64 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
2k 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 ...
1
vote
0answers
122 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
336 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
46 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
179 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
229 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
485 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
1k 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
326 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 ...
3
votes
4answers
2k 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
111 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
618 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
346 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
341 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
68 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
102 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
429 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
132 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
129 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
29 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
417 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
87 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
153 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
176 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
378 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
823 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
188 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
103 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
808 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
271 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
260 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 ...
0
votes
1answer
687 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
95 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
110 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 ...