Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

cache configuration

$
0
0
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>
</customer>
<positions>
<position quantity="1">
<article articleid="71234623" name="Kindle Whitepaper" price="" />
</position>
<position quantity="1">
<article articleid="12930412" name="Kindle Whitepaper" />
</position>
<position quantity="2">
<article articleid="56234972" name="Kindle leather cover" />
</position>
</positions>
<delivery variant="Premium" cost="0" expected="28.01.2013" />
</order>

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?

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>