Commit ef50833aac9d633a59ca45f8d3bcf85142143478
1 parent
fac6801a
Exists in
master
and in
7 other branches
--no commit message
Showing
7 changed files
with
17 additions
and
8 deletions
Show diff stats
classesphp/mapa_openlayers.php
... | ... | @@ -271,7 +271,11 @@ else{ |
271 | 271 | } |
272 | 272 | header('Content-Length: '.filesize($nomer)); |
273 | 273 | header('Content-Type: image/png'); |
274 | - header('Cache-Control: max-age=3600, must-revalidate'); | |
274 | + //header('Cache-Control: max-age=3600, must-revalidate'); | |
275 | + header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT'); | |
276 | + header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($nomer)).' GMT', true, 200); | |
277 | + $etag = md5_file($nomer); | |
278 | + header('Etag: '.$etag); | |
275 | 279 | fpassthru(fopen($nomer, 'rb')); |
276 | 280 | exit; |
277 | 281 | } |
... | ... | @@ -330,7 +334,11 @@ function carregaCacheImagem($cachedir,$bbox,$layer,$map,$w,$h){ |
330 | 334 | */ |
331 | 335 | header('Content-Length: '.filesize($nome)); |
332 | 336 | header('Content-Type: image/png'); |
333 | - header('Cache-Control: max-age=3600, must-revalidate'); | |
337 | + //header('Cache-Control: max-age=3600, must-revalidate'); | |
338 | + header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT'); | |
339 | + header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($nome)).' GMT', true, 200); | |
340 | + $etag = md5_file($nome); | |
341 | + header('Etag: '.$etag); | |
334 | 342 | fpassthru(fopen($nome, 'rb')); |
335 | 343 | exit; |
336 | 344 | } | ... | ... |
interface/debug.htm
... | ... | @@ -68,7 +68,7 @@ |
68 | 68 | <td><center><h1 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
69 | 69 | </tr> |
70 | 70 | <tr> |
71 | - <td style="padding:10px;"><center><img alt="" src='../imagens/logo_inicio.png' ></td> | |
71 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="" src='../imagens/logo_inicio.png' ></td> | |
72 | 72 | </tr> |
73 | 73 | <tr> |
74 | 74 | <td><center> | ... | ... |
interface/googleearth.phtml
... | ... | @@ -97,7 +97,7 @@ include_once("../ms_configura.php"); |
97 | 97 | <td><center><h1><div id=versaoi3geo ></div><h2>i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3>Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
98 | 98 | </tr> |
99 | 99 | <tr> |
100 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
100 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
101 | 101 | </tr> |
102 | 102 | <tr> |
103 | 103 | <td><center> | ... | ... |
interface/googlemaps.phtml
... | ... | @@ -71,7 +71,7 @@ include_once("../ms_configura.php"); |
71 | 71 | <td><center><h1 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
72 | 72 | </tr> |
73 | 73 | <tr> |
74 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
74 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
75 | 75 | </tr> |
76 | 76 | <tr> |
77 | 77 | <td><center> | ... | ... |
interface/googlemaps1.phtml
... | ... | @@ -96,7 +96,7 @@ include_once("../ms_configura.php"); |
96 | 96 | <td><center><h1><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;" >i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;" >Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
97 | 97 | </tr> |
98 | 98 | <tr> |
99 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
99 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
100 | 100 | </tr> |
101 | 101 | <tr> |
102 | 102 | <td><center> | ... | ... |
interface/openlayers.htm
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | <head> |
4 | 4 | <meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile"> |
5 | 5 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
6 | + | |
6 | 7 | <title>i3GEO - OpenLayers</title> |
7 | 8 | |
8 | 9 | </head> |
... | ... | @@ -68,7 +69,7 @@ |
68 | 69 | <td><center><h1 style="font-weight:normal;font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-weight:normal;font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-weight:normal;font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
69 | 70 | </tr> |
70 | 71 | <tr> |
71 | - <td style="padding:10px;"><center><img alt="" src='../imagens/logo_inicio.png' ></td> | |
72 | + <td style="padding:10px;"><center><img alt="" style="width:560px;height:81px" src='../imagens/logo_inicio.png' ></td> | |
72 | 73 | </tr> |
73 | 74 | <tr> |
74 | 75 | <td><center> | ... | ... |
interface/openlayersdebug.htm
... | ... | @@ -68,7 +68,7 @@ |
68 | 68 | <td><center><h1 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> |
69 | 69 | </tr> |
70 | 70 | <tr> |
71 | - <td style="padding:10px;"><center><img alt="" src='../imagens/logo_inicio.png' ></td> | |
71 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="" src='../imagens/logo_inicio.png' ></td> | |
72 | 72 | </tr> |
73 | 73 | <tr> |
74 | 74 | <td><center> | ... | ... |