]> dev.renevier.net Git - syp.git/commitdiff
set Cache-control to no-cache for items.php
authorarno <arenevier@fdn.fr>
Sat, 25 Jul 2009 12:41:25 +0000 (14:41 +0200)
committerarno <arenevier@fdn.fr>
Sat, 25 Jul 2009 12:41:25 +0000 (14:41 +0200)
items.php

index bcf5f1fc9757c50b33097c72bec649a0c9f738f4..3efed088d44e5138c7ebd9f3eb3467ef877c6206 100644 (file)
--- a/items.php
+++ b/items.php
@@ -8,6 +8,8 @@ require_once ("./inc/db/mysql.php");
 
 function main ($features) {
 
+    header("Cache-control: no-cache");
+
     echo '<?xml version="1.0" encoding="UTF-8"?>
 <kml xmlns="http://www.opengis.net/kml/2.2">
   <Document>