0
votes
1answer
38 views

NGINX - dynamic proxy_cache_path directory

Has anyone ever successfully configured separate cache folders for different sites?
0
votes
1answer
378 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
94 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
2answers
90 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 ...
-1
votes
3answers
95 views

Weird network behavior, Webserver is stopped but still can reach the file [closed]

I downloaded the file dl.example.com/10mg.test once. And suddenly I noticed even without webserver running (service nginx stop) I can still reach the file. How is this even possible ? No matter how ...
0
votes
4answers
220 views

Fast small static file serving on a VPS - avoiding the Disk

I need to serve a large number of very small static files (e.g. 1Million, ~1KB), from a VPS. My current favoured approach is Nginx, but my main concern is hitting slow VPS disks. Is there an ...
0
votes
1answer
140 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?
-1
votes
1answer
385 views

How to arrange web servers with Varnish? [closed]

I am wondering what it the best (most stable with the least memory footprint) arrangment for a busy php+mysql app? request > Varnish > Apache requests > Varnish > Nginx > php5-fpm ...
1
vote
2answers
1k 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 ...
0
votes
1answer
735 views

Good resources for understanding HTTP, Browsing, caching, web server security etc? [closed]

When I ask questions, many of the times, people leave answers like "first learn about this (or that)." The problem is, I don't know if I can find books specifically written on those subjects. Here ...
1
vote
1answer
114 views

Apache2 'caching'/'keeping in memory' a static html page (is there anything to be gained?)

I'm running a site with a popular 99% static html page (1 MB) on Amazon EC2 micro instance which receives around 35,000 pageviews a day. The site is only changing once every 3-4 hours or so and it is ...
0
votes
1answer
96 views

Web server static resources not being cached by host

My web server has periodic spikes in bandwidth consumption: Logs revealed these are coming from a single user: (ip) - - [31/Aug/2011:20:55:31 -0400] "GET /train/16/32462 HTTP/1.1" 200 12909 (ip) - ...
1
vote
2answers
1k views

Cloudflare and Cache-Control

I am experimenting with Cloudflare, mainly to relief the load of my webserver in peak moments. I just signed up and it seems to be working (all my traffic is being proxied) but Cloudflare does not ...
3
votes
1answer
4k views

How do I alter the Last-Modified header on NGNIX?

My server returns the following headers: Cache-Control:no-cache Connection:keep-alive Date:Thu, 07 Jul 2011 10:41:57 GMT Expires:Thu, 01 Jan 1970 00:00:01 GMT Last-Modified:Thu, 07 Jul 2011 08:06:32 ...
1
vote
1answer
753 views

How to prevent the slow first load startup for a website?

I'm sure you've noticed that for many servers, the website loading time is quite long if you're the first visitor for a couple of hours. Do you have any idea why this is the case (is it just server ...
5
votes
1answer
2k views

What is the difference between a cache, a primed cache and an empty cache?

Can someone explain the following concepts to me as the relate to measuring the data transfer of data from my web site. Whats the difference between a cache, a primed cache and an empty cache? Can ...
0
votes
1answer
812 views

Does Tomcat or Jetty cache dynamic content?

I'm working on a Servlet app with contents that are updated periodically. Hence, between updates any dynamic pages generated by the Servlet can be cached. Does Tomcat or Jetty (or any Servlet ...
13
votes
1answer
4k views

deleting linux cached ram

I have a webserver that has 8GB of ram and is running a pretty intensive php site (1 site) that does file manipulation, graphing, emailing, forums, you name it. The environment is far from static ...
1
vote
2answers
115 views

Mirror Web Server

I am looking to set up something like this: [internet]----[static mirror]----[dynamic back-end] In this case, the publicly available web server is running a static cache of a web-site. The static ...
1
vote
2answers
509 views

transparent Web-cache proxy acting as network bridge

Is there Web cache proxy which connects as a network bridge so it intercepts GET requests from client and redirects them to other Web server? (Without having to configure clients to use the proxy) ...