Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote JS-Files #9

Open
wurstbrot opened this issue Aug 3, 2011 · 2 comments
Open

Remote JS-Files #9

wurstbrot opened this issue Aug 3, 2011 · 2 comments

Comments

@wurstbrot
Copy link

Hi,

the index.html from var/www/map/ uses remote JS-Files (like http://www.openlayers.org/api/OpenLayers.js).

I use my own OSM-Server to be independent from others.

In my opinion we should place a daily cronjob on the server, which updates the local js-files.

If you agree, I will implement/commit this.

Cheers,
Timo

@ParveenArora
Copy link
Owner

On Wed, Aug 3, 2011 at 2:07 PM, wurstbrot
reply@reply.github.com
wrote:

Hi,
Hello Timo,
the index.html from var/www/map/ uses remote JS-Files (like http://www.openlayers.org/api/OpenLayers.js).

I use my own OSM-Server to be independent from others.

In my opinion we should place a daily cronjob on the server, which updates the local js-files.
Do we need to update js files daily, If yes then I dont know why.
Please let me know.

If you agree, I will implement/commit this.
Yes, I agree to this completely.
So It has been already done yesterday, you can check my yesterday's
commit on github.

Is that debian package worked for you? Today I am committing a debian
package with some more changes.

Parveen Arora
www.parveenarora.in

@wurstbrot
Copy link
Author

Hi Parveen,

yes, it worked.
I used http://202.164.53.116/~parveen/meramap_final/meramap.deb or is there an other file?
In the index.html:
<<<snip
bring in the OpenLayers javascript library
(here we bring it from the remote site, but you could
easily serve up this javascript yourself)
<<<snap

So, if you need the up to date files, I would recommend to do it daily. That job will not be use much resources, so it will be no problem to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants