Questions tagged [static-content]

Static content like a static web page is delivered to the user's web browser exactly as stored, in contrast to dynamic content, which is generated for each request by a web application.

134 questions
0
votes
1 answer

Nginx static files from multiple static sources

I have a Django application running on Gunicorn. I am trying to configure Nginx to serve static files. I have two upstream servers, they come from two different directories, and two different Gunicorn instances. Usually, it is the same code in both…
Flavien
  • 367
  • 1
  • 2
  • 8
0
votes
1 answer

IIS 7 - Static Resource Or HttpHandler

This is probably a fundamental question concerning IIS 7. I currently have a website running on IIS 7 on my local machine. I've noticed that when I type in a URL of the form http://localhost/styles/default.css, my web browser will open up the css…
Andrew
  • 175
  • 2
  • 7
0
votes
1 answer

Google Analytics setting cookies on static content despite being on entirely separate domain

I recently decided to comply with the YSlow recommendation that static content is hosted on a cookieless domain. As I already use the root of my domain (donaldjenkins.com) to host my website—on which Google Analytics sets a few cookies—that meant I…
0
votes
1 answer

NGINX config for many small files

I'm trying to configure an NGINX server that's sole purpose is to serve as many 10k JPEGs as it can. I have 16 GB RAM and 2 Intel Xeon E5506 processors, running CentOS. I'm looking to configure this server in order to serve as many concurrent…
evilpenguin
  • 781
  • 3
  • 9
  • 16
0
votes
2 answers

serving static content with nginx

I'm currently struggling to get the static content served with nginx for my application. I'll give a bit of background information: Server : Ubuntu 10.4 lucide Ruby : 1.8 application : /var/www/apps/current 'deployed with capistrano' nginx is…
codingbunny
  • 101
  • 1
  • 4
0
votes
2 answers

CDN architecture - best practises and designs

I am a developer for a website which is heavily reliant on static content such a pictures, videos etc. Our current setup is very simple, we basically have one server acting as our cdn which in turn gets updated by the web servers through rsync. The…
luxerama
  • 189
  • 5
0
votes
4 answers

How should I set up an awesome Static HTML Server?

Background I'm trying to setup a linux server (Ubuntu, open to suggestions) over ssh and I keep running into walls, Googling, moving a bit forward, and then running into another wall, then running into a big wall like an install/mysql/user creation…
PhilSwn
  • 3
  • 1
0
votes
2 answers

Best lightweight web server (only static content) for windows

I got application server running in Windows – IIS6.0 with Zend Server to execute PHP. I am looking for lightweight static content only web server on this same machine which will relive IIS form handling static content and increase performance.
bensiu
  • 103
  • 6
0
votes
2 answers

CDN question - factor bandwidth

I am new to cdn but want an idea of bandwidth use so i can plan budgeting. I am starting a social network and want to use a CDN for static content and user photos. Let's say in total i have 15 javascript files and 10 css files for my site. I assume…
Mani
  • 3
  • 1
0
votes
1 answer

Free service similar to 2static.it?

I have a domain with a wordpress install which sets up global cookies. I'm trying to decrease page load times by having a static subdomain to serve up images and javascript. Unfortunately I cannot use static.mydomain.com because of the global…
Mark
  • 9
  • 1
0
votes
3 answers

Real world stats on Web Server Performance for static content (Apache, Lighty, IIS, Cherokee, Tomcat, etc.)

On a project I'm on (private web based application accessed by 1,000s of users) we're looking to shard off the loading of static content to a separate server (e.g. as a CDN) for improved performance. I'm only looking to serve up static (.JS, .CSS,…
scunliffe
  • 223
  • 4
  • 11
0
votes
2 answers

Serving static files fails - nginx

I've been looking and trying around all night, but without success. I configured nginx to serve my static files and proxy all the other traffic: server { listen 80; server_name example.com; access_log…
user59437
0
votes
1 answer

cannot display static content on iis7.5 (except HTML)

I'm attempting to move my Server 2008 (IIS7) to a different machine running R2 (IIS7.5). Standard IIS features are installed (including static content--re: other ServerFault postings), and the default site page (pure HTML) runs fine--but it has no…
Michael Broschat
  • 193
  • 3
  • 12
0
votes
1 answer

Nginx Static Content Server Maxing Out?

I use nginx to serve the static content for a decently busy website of mine. I have the logging disabled, and 4 worker processes enabled with 5,000 connections per worker (which should yield a max connection limit of 20,000. The server is only…
Harry
  • 221
  • 1
  • 5
  • 9
0
votes
0 answers

Is possible return a static page in https virtual host using lighttpd?

It seems like redirect is not done. If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect SERVER["socket"] == ":443" { $HTTP["host"] == "test1" { url.redirect = ("" =>…
1 2 3
8
9