<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font size="2"><font face="Helvetica, Arial, sans-serif">Hi
          Hemant,</font></font></p>
    <p><font size="2"><font face="Helvetica, Arial, sans-serif">Probably
          the "disable_storage" setting
<a class="moz-txt-link-freetext" href="https://mapproxy.github.io/mapproxy/latest/configuration.html#disable-storage">https://mapproxy.github.io/mapproxy/latest/configuration.html#disable-storage</a>
          could address your scenario? This way, the WMS will always
          generate the map image as these won't be cached by MapProxy.</font></font></p>
    <p><font size="2"><font face="Helvetica, Arial, sans-serif">Best,</font></font></p>
    <p><font size="2"><font face="Helvetica, Arial, sans-serif">Edward</font></font><br>
    </p>
    <div class="moz-cite-prefix">On 02-02-2025 19:17, Matt Walker via
      MapProxy wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACcwLY_Aipjt5PFtcYVqN4vti8Q698g71xTR3UgprApMdOJpeg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>Hi Hemant,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I'm pretty sure what you're describing isn't
          possible with plain vanilla MapProxy but should be possible
          with a custom WSGI middleware sitting in front of MapProxy.
          See <a
href="https://mapproxy.github.io/mapproxy/latest/auth.html#wsgi-filter-middleware"
            target="_blank" rel="noreferrer" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://mapproxy.github.io/mapproxy/latest/auth.html#wsgi-filter-middleware</a>
          for an example of returning an alternative response.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Kind regards,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Matt.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a href="https://longwayaround.org.uk/"
            target="_blank" rel="noreferrer" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://longwayaround.org.uk/</a></div>
        <div dir="auto"><a href="https://www.astuntechnology.com/"
            target="_blank" rel="noreferrer" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.astuntechnology.com/</a><br>
          <br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr" class="gmail_attr">On Sat, 1 Feb 2025, 03:46
              B H via MapProxy, <<a
                href="mailto:mapproxy@lists.osgeo.org" target="_blank"
                rel="noreferrer" moz-do-not-send="true"
                class="moz-txt-link-freetext">mapproxy@lists.osgeo.org</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div dir="ltr">
                  <div>I want to configure a mapproxy with the ability
                    to send redirects(http 302 status code)  to the tile
                    urls of the source, instead of serving the Tile
                    content (mapproxy is acting as a simple tile
                    server)...<br>
                  </div>
                  <div>
                    <div>Is it possible for me to either configure (or
                      extend through  plugins) Mapporxy so that it
                      serves 302 redirect urls instead of actually
                      serving the tiles?</div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>In my case, there are two sources for different
                    zooms and locations.</div>
                  <div>1) Fast source : for zoom 10-17 for a small
                    geographical location (E.g a small town)<br>
                  </div>
                  <div>2) Slow source: for zoom 1-9 for large
                    geographical locations.(A country)<br>
                  </div>
                  <div><br>
                  </div>
                  <div>The real WMS servers behind "Fast source" are
                    going to have better bandwidth and geographical
                    distribution than the proxy. I am trying to figure
                    out if it can directly serve the content to client.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Thanks,</div>
                  <div>Hemant <br>
                  </div>
                </div>
              </div>
              _______________________________________________<br>
              MapProxy mailing list<br>
              <a href="mailto:MapProxy@lists.osgeo.org" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">MapProxy@lists.osgeo.org</a><br>
              <a
                href="https://lists.osgeo.org/mailman/listinfo/mapproxy"
                rel="noreferrer noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapproxy">https://lists.osgeo.org/mailman/listinfo/mapproxy</a>
</pre>
    </blockquote>
  </body>
</html>