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
510 views

Which Linux filesystem is best for a huge Apache mod_disk_cache partition?

Talking about a huge (50GB, 500.000 entries) Apache disk_cache partition: Which Linux filesystem performs best for this task? In my example, the partition has a lot (500.000) of very small files ...
5
votes
2answers
773 views

Apache's htcacheclean doesn't scale: How to tame a huge Apache disk_cache?

We have an Apache setup with a huge disk_cache (>500.000 entries, >50 GB disk space used). The cache grows by 16 GB every day. My problem is that the cache seems to be growing nearly as fast as it's ...
0
votes
1answer
110 views

Configuring XP guest and Win7 host so guest gets best advantage of host's RAM? [closed]

I have a Windows 7 64 bit with lots of RAM hosting a VirtualBox VM with a Windows XP guest. The apps run on the guest use so much ram that it typically ends up swapping. I'd like to know any tips ...
3
votes
1answer
1k views

Nginx reverse proxy: Not setting expires header

I have my static assets configured as location @upstream { proxy_pass http://localhost:82; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; ...
0
votes
2answers
41 views

Find caching DNS server?

Is there any way to find out which servers, on the way on DNS routing, are caching records, and for how long? I'm on a iMac with Leopard. The reason I ask this, is that I've made some DNS changes to ...
0
votes
1answer
708 views

APC File Cache not working but user cache is fine [closed]

I have just got a VPS (with cPanel/WHM) to test what gains i could get in my application with using apc file cache AND user cache. So firstly I got the PHP 5.3 compiled in as a DSO (apache module). ...
1
vote
1answer
43 views

on Linux, is there any way(tools) to know which application cached data and what the data is?

On my linux system I find that the free memory is continuously reduced.I use free -m to get the free memory size. But after I execute echo 3 > /proc/sys/vm/drop_caches the size of free memory ...
0
votes
2answers
82 views

Procedure for Setup of Internal Cache Server

I currently have a small business where many of the computers download the same fies over and over again (for example Windows Updates). What I'd like to do is setup a cache server, something that'll ...
1
vote
1answer
1k views

Disable DNS Caching PHP

I need to get the latest A records of a DNS in a script. The script is doing some monitoring operations. The Default TTL of DNS record is 5 minutes, but the monitoring script is running every minute. ...
0
votes
1answer
294 views

SQL Server on VMWare - is transaction log corruption possible?

Scenario: SQL Server 2005 or 2008, Windows 2008 OS. Running in a VM hosted on VMWare ESX server. Is there any known issue with VMWare when it caches pass-through write request and it never reaches ...
1
vote
4answers
741 views

Fastest/scalable way to serve static files?

What options are there to serve static files very fast? Are there any options that allow caching the file in the memory of the server, etc? For example caching the js files in the memory. I know of ...
1
vote
0answers
343 views

IIS 7.5 Caching Classic ASP Responses and Static Files

I have a really hard time migrating from Windows Server 2003 to Windows 2008 R2. My ASP code seems to work but after a while users start complaining they see other people's responses! User 1: Search ...
3
votes
4answers
3k views

APC (PHP Cache) Uptime 0 minutes, not caching

My goal is to implement APC for opcode cache for a drupal 6 production site. I have so far tested APC with several php files with and without including other php files with include_once. Also tried ...
1
vote
0answers
264 views

Browser continues to request headers of cached files, even after instructing it otherwise

I am trying to add a expires header to the nginx configuration like this : location ~* \.css|\.js|\.jpg|\.jpeg|\.png|\.gif|\.swf|\.svg|\.tiff|\.pdf|\.ico$ { expires max; ...
3
votes
1answer
123 views

Caching + webserver on the same machine?

I'm preparing the move of a live website from a shared server to a seperate server running just that one site. Right now we're getting lots of traffic and Apache is having a hard time keeping up. One ...
0
votes
1answer
38 views

Storing cached files so they are accessible by more than one server

I want to start using multiple front-end Apache servers for my website. At the moment I store various HTML files in a caching directory, e.g. "/htmlcache/homepage.html" Obviously I don't want to ...
0
votes
1answer
195 views

Is dnsmasq a cache?

I have doubt whether dnsmasq is a DNS server or just a cache for DNS. I see in some of the linux machines that the dnsmasq is installed. Is it installed in default? Thanks in advance.
2
votes
1answer
2k views

I want static content cached, but browsers keep requesting it

I've got an IIS 7.5 site with caching turned on for javascript and css content directories. All requests to these files use a query string with the app version number, so I just want it to cache ...
1
vote
1answer
801 views

Is it possible to use mod_expires in an Apache configured as reverse proxy?

my setup is as follows: Browser <=> Ec2 Load Balancer <=> Apache (reverse proxy) <=> Jetty The Apache and the Jetty are running on the same machine in the Amazon cloud (Debian Lenny, Linux ...
1
vote
1answer
145 views

Install Appfabric on linux

I'm developing an asp.net mvc application with the intention to host on linux using mono. I want to use appfabric for caching but seeing as it is built into windows. I'm wondering if it can also be ...
3
votes
2answers
354 views

How to map a folder to memory?

Is there a way to map a particular folder to memory? Say I have C:\somePath and I want that folder to be in memory at all times and maybe changes are dumped to HDD asynchronously without my notice. So ...
0
votes
1answer
694 views

Alternative PHP Cache and Wordpress Problem

I've installed Alternative PHP Cache with this command: pecl install apc Create and copy to /etc/php.d/ a apc.ini like this: ; /etc/php.d/apc.ini extension = apc.so Directive Local Value ...
10
votes
5answers
11k views

How to load-balance SQL Server 2008 for high-usage ASP.NET applications?

Imagine that you have a successful web application that uses ASP.NET and IIS 7. It generates many calls to a SQL Server 2008 database, and is expected to be available to the public with 99.9% uptime ...
8
votes
5answers
18k views

Is there a way to turn off client browser caching for specific websites?

This is a browser agnostic question but we're testing with IE9. One of the web apps our users visit is being randomly cached and changes aren't showing up when they should. No other site has this ...
0
votes
2answers
175 views

Varnish and Browser Exceptions

I currently run a website behind a Varnish server, It contains a few browser conditions for Internet Explorer 6. Unfortunately Varnish is caching the first version it serves without taking into ...
0
votes
1answer
72 views

Windows to linux fileshare is sometimes using old (cached) version of file

I have a fileshare on Windows 7 that I'm accessing from a linux (ubuntu lucid) virtual machine running in VirtualBox. When I change a file in windows, then don't access it for a while (an hour or two ...
0
votes
0answers
92 views

What is the upper limit for cache folder when using Apache's MOD_CACHE module

I noticed tonight my server ground to a halt. SSH, plesk and the actual site itself were all totally unavailable. Services seemed to resume just as I got to the front of the support queueto be ...
0
votes
1answer
887 views

nginx static files caching doesn't work

here is my conf file: usr/local/nginx/sites-available/default server { listen 80; server_name localhost; location / { root html; index index.php index.html index.htm; } # redirect server error pages ...
0
votes
1answer
916 views

IIS Caching by Expire or Cache Control headers

Is it possible to get IIS 7 (Server 2008) to cache content by looking at the Expires and/or Cache Control headers of the content being returned ? (I have an ASP.NET app that is serving image tiles. ...
0
votes
1answer
474 views

Varnish multi proxy via DNS config and regular expression

I would like to set up a proxy "Varnish" as a bridge between public and private addresses. I thought I could use varnish and DNS servers to map private to public. For example: http://service.domain ...
0
votes
4answers
1k views

Nginx 0.67 ignores Cache-Control: no-cache from upstream proxy

I want to specify no caching for some responses from my (Pylons) upstream server in order to avoid users being able to access cached content after logoff. To do that I'm returning a no-cache header as ...
1
vote
1answer
494 views

apache tomcat IE caching problem

I'm running apche2 and tomcat6 both on port 80 with mod_jk setup on ubuntu servers(8.10,9.10). Tomcat is being used for serving jsp pages. I've a small problem with the IE browser which doesn't cache ...
0
votes
1answer
260 views

is there any point running APC **and** memcached concurrently

Do APC and Memcached cache the same data? I understand that APC caches both files and objects/variables whereas memcached is object-only, but does memcached offer anything that APC doesn't? I've ...
2
votes
1answer
300 views

How to make squid send a old cache(maybe stale) to client when website is down

I am using squid as proxy. But when the website is down and the cache is exceed the max time config in squid.conf, can I just let squid send the old to client before squid revaliadate it. If squid can ...
7
votes
3answers
2k views

Caching youtube on LAN [duplicate]

Possible Duplicate: How can I cache YouTube videos with Squid Cache? I am an Administrator for a net cafe. We have limited monthly traffic allowance and in past our investigations showed ...
1
vote
0answers
255 views

Nginx Seems to be Sending Cached Versions of Pages

I have installed nginx, and things work very well for production, but I sometimes have this problem when developing. To reproduce the problem, I have done the following: Create a file in a public ...
5
votes
3answers
4k views

Speeding up Apache and PHP

What are some good modules or systems that for caching that I can use for decreasing my load on Apache on an EC2 server running PHP, and why would you choose them?
3
votes
1answer
2k views

Limiting bandwidth of workstations in MS Forefront TMG

We have configured Microsoft forefront TMG 2010 Enterprise as the cache server which provides internet access for all computers in our department. Is there any way to limit download speed per ...
1
vote
2answers
655 views

nginx caching dynamic content to static

I've read and heard that nginx can cache dynamic content and make it static so it loads faster taking more of a load of apache. has anyone done this before? is it worth it? any pros/cons to it?
1
vote
0answers
338 views

HTTP header says “no-cache” only in IE

I'm running IIS7 - and for some reason the HTTP headers indicate a cached page has been served (e.g. Firefox's Firebug shows 304 Not Modified) yet the same page in fiddler for an IE8 request it says: ...
0
votes
1answer
2k views

How does the DFS 'cache duration' setting work?

We have a large and complex multi-site DFS structure. I'm using DFS for an application that would be disrupted if any part of the structure was redirected out of site (although I'd rather it be ...
4
votes
2answers
2k views

Optimizing MySQL for small VPS

I'm trying to optimize my MySQL config for a verrry small VPS. The VPS is also running NGINX/PHP-FPM and Magento; all with a limit of 250MB of RAM. This is an output of MySQL Tuner... -------- ...
6
votes
4answers
161 views

Reading material for server architectures

I am currently part of a team working on a new large-scale project consisting of a web platform with content consumed through an API by various mobile devices. We really anticipate a lot of traffic ...
5
votes
1answer
697 views

How do I monitor memcached evictions?

How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
4
votes
3answers
4k views

Akamai NetStorage vs. Akamai edge service

What's the difference between using Akamai NetStorage vs. Akamai's Edge Service? Below are the concepts that I believe differentiate them but I'd like more details from more experienced people. ...
1
vote
3answers
2k views

APC not caching many files

I have a Drupal site running on a VPS at Linode with PHP 5.2.10 and APC 3.1.6. It never caches more than about 25 files and barely uses any of its available memory. Drupal has hundreds of PHP files. ...
4
votes
3answers
3k views

Akamai vs smaller CDN for small/medium-size ecommerce traffic? (caching, latency, NetStorage)

The small/medium sized online retail company I work for uses Akamai as our CDN for static images, but I'm wondering whether it might be hurting rather than helping and, if it's suboptimal, what we ...
0
votes
1answer
123 views

Which is faster, key_cache or OS cache?

In a tb with 1 mil. rows if I do (after I restart the computer - so nothing it's cached): 1. SELECT price,city,state FROM tb1 WHERE zipId=13458; the result is 23rows in 0.270s after I run 'LOAD ...
0
votes
4answers
121 views

Does a web application which is running on SSD need in-memory caching?

My hosting provider offers me to increase my server's memory from 8gb to 24gb, at the same monthly cost of 3x 120gb SSD. SSD choice seems more reasonable to me; but im curious if my web application ...
1
vote
3answers
483 views

Can APC recognise duplicate source files?

I have a webserver with lots of sites which are all based on Drupal. The sites share a vast majority of identical code, and it'd be great if APC could take advantage of this and not 're-cache' the ...