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

1
vote
1answer
567 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
278 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
2answers
357 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
285 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
732 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
342 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 ...
5
votes
2answers
3k 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
164 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
849 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.
5
votes
3answers
5k 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. ...
5
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
3answers
88 views

Cant access site intermittently, site not available

I have a news site I check stuff for regularly.. Once in a while I can't access it completely from my 5 different browsers and even from the command line, nslookup cant resolve, ping and tracert ...
0
votes
1answer
126 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
125 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
514 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 ...
1
vote
2answers
960 views

Does IIS 7/7.5 304 (Not Modified) involve disk IO?

I am wondering how does IIS (7/7.5) work in terms of 304 ((Not Modified) response code. For example when an image is cached on client side (i.e. a web browser) with the Last-Modified HTTP header set, ...
2
votes
1answer
853 views

Facebook's Flashcache writeback block cache

Im quite interested in Facebook's code which was thrown over the wall again.. FlashCache ... Sounds fast, using SSD's to help scale InnoDB/MySQL, but it was designed as a generic caching module that ...
1
vote
2answers
181 views

Utilizing my RAM more efficiently

I just upgraded my RAM on my server from 4 GB to 16GB, I have 2x Dual Core 2.4 Ghz processors and would like to utilize that extra RAM if possible to setup some additional caching, or just anything ...
0
votes
1answer
138 views

Apache Httpd bad caching on Drupal pages that include content from Tomcat

I have a Drupal website running on Httpd that makes AJAX calls to fetch fragments of HTML that are served up by JSPs in Tomcat 6 running on a different virtual host. Integration between the two ...
0
votes
2answers
250 views

Installing AppFabric on Windows Server Datacenter

we are running a virtual server with Windows Server Datacenter (32 bit) and I cannot install AppFabric on it. When I run the executable downloaded from ...
0
votes
1answer
163 views

Turn on browser caching per site

We have a windows 2003 AD domain users use IE6 clients. Browser caching is turned off as a domain policy. Question is: Is it possible to override this for a group of users for a specific web site?
0
votes
2answers
426 views

Is if-modified-since enabled by default in Ubuntu?

If it is not, how do I enable it?
2
votes
2answers
1k views

Optimized .htaccess for caching?

I'm trying to make Google PageSpeed happy, but my .htaccess skills are limited. I'm particularly struggling with browser and proxy caching. Does anyone have a template I can use? Here's what I have ...
0
votes
1answer
472 views

Should Squid honor no-cache and s-maxage in reverse proxy mode?

I'm using Squid 2.7.STABLE9, which I compiled from source. My understanding of no-cache is that the cache must revalidate with the origin server before serving up a cached copy of the resource, and ...
2
votes
4answers
116 views

MySQL Server : Most Frequent Requests

I would like to know if there is anyway I can display the most frequent sql requests onmy mysql server in order to memcache it. Thanks !
0
votes
1answer
142 views

Header precendence: Apache Vs. PHP specific to cache-control & expires

My companies production dynamic web servers ( Apache + PHP 5.1x) are using the Apache expires module and there is a clause inside http.conf as follows: <FilesMatch ".+"> ExpiresActive On ...
0
votes
2answers
383 views

Taggable alternatives to memcache

I'm looking for a caching solution quite similar to memcache, but the one thing I sorely miss is invalidating content based on a tag. Many preprocessed results depend on multiple sources of data, and ...
1
vote
2answers
962 views

Nginx + PHP-FPM ignores no-cache headers

I'm using the following header on a php page. // Prevent page caching. header('Expires: Tue, 20 Oct 1981 05:00:00 GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); ...
2
votes
1answer
5k views

make IIS 7.5 cache static content files over diferent pages

On a Windows 2008 R2, using DNS and IIS I've established my development test server; i.e. I'll have a web application that I can browse on http://test.dev I've moved all the static content files like ...
0
votes
1answer
437 views

caching server in front of apache tomcat

We have a website and it's current architecture is as follows: There's squid in the front which caches images. Then there is apache httpd with mod_rewrite enabled. httpd then talks to apache ...
0
votes
1answer
2k views

setting Expires date in iis6

i try to control my iis6 caching i was able to set Cache-Control public, max-age=1000000 but i can't set the Expires any help?
1
vote
1answer
5k views

Can someone share their Varnish VCL to set expires in the future?

It seems that a dozen pages exist that tell you how to set your "expires" headers for files, but none that are actually correct. Right now, my VCL is: if (req.url ~ "^/media/") { set beresp.ttl ...
1
vote
2answers
1k views

IIS 7 Disable Caching

Hi in my development machine I want to completely turn off caching (all types) for php. No matter what I try IIS 7 is still caching and it really drives me crazy!
2
votes
2answers
4k views

How to make HTTP Cache Headers Work

Can someone please help me with a HTTP caching question? I thought that if I set the "Expires" and "Cache-Control:max-age" request headers, then a browser wouldn't make a GET request until after the ...
1
vote
2answers
368 views

Why isn't this HTTP response cached?

Below are the request and response headers for a page in my web application: Request Headers: GET http://my-server/myapp/mypage.aspx?myid=123 HTTP/1.1 Accept: */* Accept-Language: en-US User-Agent: ...
5
votes
3answers
4k views

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) ...
2
votes
0answers
474 views

How can I exceed the 60% Memory Limit of IIS7

Pardon if this is more stackoverflow vs. serverfault. It seems to be on the border. We have an application that caches a large amount of product data for an e-commerce application using ASP.NET ...
0
votes
1answer
228 views

Do all web caches understand the “Cache-Control” HTTP header?

I'd like to avoid the "Expires" header, and use "Cache-Control" only - or maybe the other way around. The headers will account for a significant percentage of my traffic, so I'd prefer not to "use ...
5
votes
5answers
270 views

Identical traffic

I am running an application server and logging all requests for analysis purposes later. One interesting trend I noticed last night was, I had a visitor from Texas on FIOS share identical traffic ...
2
votes
2answers
2k views

How to enable caching on Apache / Ubuntu Linux?

I have a large (several megabytes) XML file that's updated rather frequently (every 10 minutes or less) and gets a lot of traffic. I'd like to implement some caching to reduce bandwidth and server ...
2
votes
3answers
268 views

How much HDD space would I need to cache the web while respecting robot.txts? [closed]

I want to experiment with creating a web crawler. I'll start with indexing a few medium sized website like Stack Overflow or Smashing Magazine. If it works, I'd like to start crawling the entire web. ...
1
vote
1answer
743 views

Is there a way i can see why Squid (Proxy Server) determines why a resources should be a MISS?

I'm using Fiddler/FireBug to debug some of our live server web content. We're getting a lot of :- X-Cache: MISS from X-Cache-Lookup: MISS from :8080 Via: 1.1 :8080 (squid/2.7.STABE3) I thought i ...
1
vote
1answer
62 views

Production grade caching times?

I wanted to set up caching on all the junk my webserver serves, but I would like a good idea of what production-level services use cache wise? For some reason I can't pick my own times for things like ...
5
votes
2answers
2k views

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would ...
0
votes
1answer
593 views

How can I configure apache to cache the images that it is serving? Right now it is giving headers that look like: “max-age=0”

Serving up images that don't seem to cache There's a LAPP stack (postgresql instead of mysql) running over on http://ninjawars.net. I just recently noticed that images don't seem to be caching with ...