SV: [PHP] Javascript backslash in php dom object
| From: | Uggla Henrik | Date: | Mon, 12 May 2014 09:40:42 +0000 |
| Subject: | SV: [PHP] Javascript backslash in php dom object | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323285@lists.php.net to get a copy of this message | ||
1. The clients should not rely on http://ol3js.org, it could be
down/slow.
2. The server should always have the most recent version of the js available at http://ol3js.org.
I could do what you propose but I would then need to implement a mechanism for checking and
replacing the js on my server.
/H
________________________________________
Från: Frank Arensmeier [farensmeier@gmail.com]
Skickat: den 12 maj 2014 11:15
Till: Uggla Henrik
Kopia: php-general@lists.php.net
Ämne: Re: [PHP] Javascript backslash in php dom object
12 maj 2014 kl. 11:11 skrev Uggla Henrik <Henrik.Uggla@kristianstad.se>:
> I don't want each client downloading the script from
> http://ol3js.org separately. The script should be loaded by the
> server, cached and delivered to the clients.
Make a copy of that script, save it on your server and include a URL pointing to your local copy
instead? What’s the difference between providing a URL and including the source code? The payload
is more or less the same.
/frank