<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Christopher,<br>
<br>
Thanks for your reply.<br>
<br>
I am using cgi  mode (because it's been the easiest to setup). How do
you recommend I run tilecache? I don't want to precache my whole map
because most of the zoom levels (in some areas) don't give much
information. I could precache some zoom levels and let the details be
rendered on the fly, when needed...<br>
<br>
I'm not using metatiles (or at least I think I'm not using them)... I
don't really know what metatiles are and what they are supposed to do.
Maybe a point to the right documentation would be ok...<br>
<br>
<br>
The tile loading process goes like this - when I change my zoom the
center tiles are loaded pretty quickly (even if they haven't been
cached) - in about half a second, but the edges of my image take about
~5 seconds to load. I thought it might be a limitation of my browser -
on how many connections it can keep - so I added a lot of connections 
(20 per server) both on my browser and my web server (20 processes
listening). The speed limitation is visible even when the tiles (for
that area) have been cached. I thought that by increasing the tile size
the browser would make fewer requests and the page would maybe load
faster...<br>
<br>
Thanks,<br>
Adrian<br>
<br>
<br>
<br>
Christopher Schmidt wrote:
<blockquote cite="mid:20091019143848.GD4436@metacarta.com" type="cite">
  <pre wrap="">On Mon, Oct 19, 2009 at 02:30:44PM +0300, Adrian Popa wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello everyone,

Just wondering - what would be a good tile size to be used for 
tilecache, so that the client will not do a lot of queries to the server 
(seems they take quite a while), and at the same time would not load too 
much information that is not used (areas of tiles which are outside the 
viewable area).

My web clients use screen resolutions starting from 1200x1024 (and 
usually run the page in full screen).
Right now I have tiles of 256x256 - which seem rather small and take 
some time to load.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I would try to understand why they take some time to load. Are you using
CGI mode? (Don't.) Are you not-precaching as much as you should? Are you
using metatiles? Are you not using metatiles? etc.

Also, some description of 'some time' -- hundreds of milliseconds, seconds,
dozens of seconds -- would probably also be appropriate.

  </pre>
  <blockquote type="cite">
    <pre wrap="">What tile sizes do you use?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
256x256. And so does Google Maps, which was doing this before most of us,
and probably has a decent idea on how to make things work pretty well.

-- Chris

  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks,

Adrian

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
</body>
</html>