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
1
vote
1 answer

Serving http content files locally instead of off external servers

When building our web pages from different content sources, it may be necessary to get some images from external servers (e.g. when incorporating a rss feed), which may not be as fast or as well connected as our own data center. I would like a have…
Alex Lehmann
  • 217
  • 1
  • 7
1
vote
1 answer

varnish file download fail from user session

I have 2 varnish 3.0.4 servers on edge of an Apache cluster (fallback director). On one of my sites, users log in to download static content such as pdf, images (jpg,jpeg,png, gif), xls/xlsx etc. All but the exel files are told to be cached. When…
1
vote
1 answer

Remove unrecognised staticContent mimeMap entries

On a default installation of IIS there are approximately 350 elements specified in the section. Some file extensions seem alien to me e.g. .sv4cpio, .cpio, .onetoc2. I was wondering if it would be worth removing file…
Kevin Brydon
  • 101
  • 9
1
vote
2 answers

Lighttpd as tomcat proxy with static content serving

How can I configure Lighttpd to serve static content on specified URL address (eg. www.my-domain.com/static) from specified directory (e.g. /var/www/my-domain/static) ? Rest of requests must be passed to tomcat container. Actually I pass all…
michal.kreuzman
  • 335
  • 3
  • 7
1
vote
1 answer

Media deployment advice

We have applications that have a lot of static content (>60gb) which is updated frequently. It used to be we would manually rsync from vendors and between environments, and our code would rely on naming conventions to find files. Only now are we…
Jeff V
  • 229
  • 3
  • 11
1
vote
2 answers

Why is IIS 7.5 showing two requests for static files?

We are running IIS 7.5 on Windows Server 2008 64-bit. Mainly, we run Coldfusion 9 and don't really use ASP.NET stuff. Kind of weird, but when we look at the "Worker Processes" module (on the main server entry in the "IIS" group) and view the…
jzimmerman2011
  • 323
  • 1
  • 4
  • 12
1
vote
2 answers

Structuring an nginx config for static content and php

I'm trying to write an Nginx config with the following semantics, expressed in hopefully-readable psuedo-config: location /dir1/ /dir2/ { if (matches a .php file) { serve with php } else if (matches a non-.php file) { serve as static…
jade
  • 890
  • 5
  • 15
1
vote
1 answer

IIS 7.5 Static File Request to localhost occasionally taking 4 minutes

We are hosting a web application on a series of Windows 7 machines (accessed via localhost), which has IIS 7.5, and some users are sporadically getting stuck in the middle of a request. After examining the IIS request logs, it is taking over…
Josh Stodola
  • 289
  • 1
  • 4
  • 14
1
vote
3 answers

nginx hackery : change image file every X request

Let me describe what I am trying to do first. I have a bunch of pictures in a directory called /images/*.(jpg|gif|png|blah blah|) Now say these images are embedded in an html page and I dont really care which image or where its embedded. For every…
Abhishek Dujari
  • 567
  • 2
  • 5
  • 17
1
vote
0 answers

mixing apache2/another web server, virtual apps and static content

I am unable to configure apache2 frontend proxy to other servers and also serve apache2 content. My intent is to have apache2 serve some static content and some dynamic apps, both with domain names and those as sub-folders of the document root, and…
punkish
  • 313
  • 2
  • 4
  • 9
1
vote
1 answer

Media Server Stack

What would be, software wise, a good Stack to use for a media server, considering the Ubuntu OS (8.10 up)? This is supposed to serve large QuickTime video files (.mov) with > 100Mb in average. We expect the traffic to be high. And, even though…
kolrie
  • 235
  • 3
  • 12
1
vote
2 answers

Cannot access static content of an ASP.NET MVC app on IIS7

I have an ASP.NET MVC 2 app that I have just deployed to IIS7. The app works fine except all static content (js, css, images) are returning blank. I have the static content handler configured above the MVC handler. I have looked in the IIS logs and…
Jon
  • 11
  • 1
  • 2
1
vote
1 answer

Test a site with a static subdomain locally

How can I test a site that uses one or more static domains for serving images locally? e.g. domain.tld with images servered from static.domain.tld Local working copy of the site on WAMP checked out from SVN: URLs will be pointing at…
user34542
1
vote
1 answer

lighttpd, ngingx, fastcgi, static content, What are they, and when do you need them

i am working on an web application that requires the page to be updated every second. You can think of a websites with stocks where the data has to be updated real time. Background For this real time update i use Ajax, the jquery plugin. My database…
Saif Bechan
  • 10,960
  • 10
  • 42
  • 63
1
vote
1 answer

Best way to serve static folder that is not presented in frontend build

I have the following situation. Web content of my app is located in a standard directory /var/www/my.domain.com/html/. Also I have a folder users_statics somewhere inside this directory, where my app stores some essential files that were uploaded by…
1 2 3
8 9