[OpenLayers-Users] Tuning Open Layers

Joanne Cook j.cook at oxfordarch.co.uk
Mon Jul 23 09:25:48 EDT 2007


http://mapdata.thehumanjourney.net/index_new_comp.html

The structure is as follows:
/var/www/index_new_comp.html
/var/www/OpenLayers-2.3/
/var/www/OpenLayers-2.3/OpenLayers_comp.js (to avoid confusion with the uncompressed version)
/var/www/OpenLayers-2.3/lib/
/var/www/OpenLayers-2.3/img/
etc

If I copy img into /var/www then it works

Is that enough of a test for you?

Jo

-----------------------------------------------------
Joanne Cook
Information Systems Coordinator
Oxford Archaeology (North)
01524 541000
http://thehumanjourney.net

----- Original Message -----
From: "Christopher Schmidt" <crschmidt at metacarta.com>
To: "Joanne Cook" <j.cook at oxfordarch.co.uk>
Cc: users at openlayers.org
Sent: 23 July 2007 14:16:28 o'clock (GMT) Europe/London
Subject: Re: [OpenLayers-Users] Tuning Open Layers

On Mon, Jul 23, 2007 at 02:00:09PM +0100, Joanne Cook wrote:
> Does it also assume that the page you are calling it from is in the directory above lib? 

No, it shouldn't. If it does, that's a bug. I'd like to see it filed if 
you can make an HTML page available on the web which demonstrates it.  

> Mine is not, and it doesn't work. I have copied the img folder into the same directory as the page I am calling from (the root directory of my web server) and that seems to work. 
> 
> Can I remove some of the stuff from the openlayers directories to save space now?

With a single file build, only the img/, theme/ and OpenLayers.js files
matter -- everything else (art/, build/, doc/, examples/, tests/,
tools/) can be deleted.

You might want to investigate HTTP Compression, especially if the images
you are serving are not jpgs:

http://www.ibm.com/developerworks/web/library/wa-httpcomp/

via mod_gzip through apache.

Regards,
-- 
Christopher Schmidt
MetaCarta


 


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com




------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://openarchaeology.net/iso26300 for more information.




More information about the Users mailing list