0
votes
1answer
56 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
0answers
80 views

Should Varnish hit when passed an unmatching ETag or an earlier modified date?

We are currently spiking a Varnish implementation to see if it would be appropriate to sit in front of our Rails application. We want Varnish to cache the results of an API call and only hit the ...
0
votes
1answer
100 views

A web server or caching proxy to cache php completely as html?

My Server's load and mysql usage are higher than usual and recently I see about 350 processes for each HTTPd and mysqld. Is there a web server or caching proxy to cache PHP as HTML?
2
votes
2answers
168 views

Varnish micro-caching

Micro-caching and Nginx can really speed up the app. Would it be possible to use micro-caching (or something similar) with Varnish?
1
vote
1answer
233 views

which caching system to work with mpm_worker and mod_fcgid?

I was planning to use APC for my Apache Server based on mpm_worker and mod_fcgid but I found out that APC and also xCache doesn't work with mod_fcgid. so what do you suggest?
1
vote
1answer
226 views

Configuring varnish and django (apache/modwsgi)

I am trying to work out why my application keeps hitting the database while I have setup varnish infront of apache. I think I am missing some vital configuration, any tips are welcome This is my curl ...
1
vote
2answers
919 views

Is there a way to cleverly cache with Nginx?

We have an Apache behind Nginx. Nginx is used to load balance between webservers and to cache static content. The only problem is, every time the web application is updated we have to completely clear ...
2
votes
2answers
2k views

Varnish Cache - default TTL?

I have discovered that I can set the TTL in Varnish as follows in my VCL file: sub vcl_fetch { # 1 minute set obj.ttl = 1m; } But what is the default setting (assuming the backend server is ...
1
vote
0answers
49 views

File-based reverse proxy cache with lru gc?

For a project I'm working on I need a file-based reverse proxy cache where I limit the size of the cache to some setting and have the ability to "gc" the cache based most likely on a lru algorithm. ...
10
votes
3answers
2k views

Tuning Linux disk caching behaviour for maximum throughput

I'm running into a maximum throughput issue here and need some advice on which way to tune my knobs. We're running a 10Gbit fileserver for backup distribution. It's a two disk S-ATA2 setup on an LSI ...
6
votes
5answers
12k 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 ...
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 ...
1
vote
1answer
4k 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
725 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
3answers
726 views

How to ignore query parameters in web cache?

Google Analytics use some query parameters to identify campaigns and to do cookie control. This is all handled by javascript code. Take a look at the following example: ...
0
votes
1answer
573 views

Does a worker process share its output cache within an AppPool?

Summary: I have an ASP.NET MVC website in IIS named 'Website' using an AppPool named 'WebsiteAppPool'. WebsiteAppPool is configured to allow up to 4 Worker Processes, in effect creating a 'Web ...
2
votes
4answers
531 views

SQL Server 2005 and Caching

Background to question: I'm looking to implement a caching system for my website. Currently we're exploring memcache as a means of doing this. However, I am looking to see if something similar exists ...
2
votes
4answers
1k views

What caching strategies can I implement between my web load balancer and my web farm?

I've got a web farm of IIS7 machines. works great. We're about to release an API to the wild. It's pretty simple but we know it's going to get hit pretty hard from day one (we have at least one signed ...