Welcome! Log In Create A New Profile

Advanced

Re: ContentType - text/css for css files in 304 Not Modified

Alex Sergeyev
September 02, 2010 01:12PM
I'd offer to try disabling Last Modified header from your nginx and give
reasonable high (30 days?) value in Expires header.

Meanwhile you may report this error to whoever is assuming that absence
of Content-Type is reason for not processing your css (facebook or
facebook app developers, I'm not sure who you're talking about but IMHO
they all will at least comment on RFC position about this).

If you'll look at different servers sending 304 than you'll see that
google for example does not send Content Type. As well as apache.org
It's perfectly valid and accepted practice.

Alex.


On Wed, 2010-09-01 at 18:02 -0700, kevin wrote:
> it is for a facebook app, and i do not have control over this. without
> this header the css file is not processed as css at all.
>
>


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

ContentType - text/css for css files in 304 Not Modified

kevin September 01, 2010 04:34PM

Re: ContentType - text/css for css files in 304 Not Modified

Maxim Dounin September 01, 2010 07:44PM

Re: ContentType - text/css for css files in 304 Not Modified

kevin September 01, 2010 09:06PM

Re: ContentType - text/css for css files in 304 Not Modified

Alex Sergeyev September 02, 2010 01:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready