cache configuration

automatix nginx-forum at
Sat Jan 26 19:20:01 UTC 2013

Hello everyone!

A cache issue...

I created an XML file order.xml with this simle cotent:

<?xml version="1.0" encoding="utf-8"?>
<order ordernumber="123asdf7">
	<customer customerid="5132423">
		<name>John Doe</name>
		<address>Foo Str. 3, 10117 Berlin<address>
		<position quantity="1">
			<article articleid="71234623" name="Kindle Whitepaper" price="" />
		<position quantity="1">
			<article articleid="12930412" name="Kindle Whitepaper" />
		<position quantity="2">
			<article articleid="56234972" name="Kindle leather cover" />
	<delivery variant="Premium" cost="0" expected="28.01.2013" />

and saved it on my VM in /var/www/sandbox/test/. As you can see, it's not a
valid XML (s. tag address). So the browser (XML parser) threw an error.

Then I repaired the file. But the browser is still throwing the same eoor.

It's defently the server(-side) cache, since I've already tried it out in
several browsers.

How can/should I set up the cache behavior of nginx?

Posted at Nginx Forum:,235601,235601#msg-235601

More information about the nginx mailing list