SV: Javascript backslash in php dom object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx]
Skickat: den 12 maj 2014 11:15
Till: Uggla Henrik
Kopia: php-general@xxxxxxxxxxxxx
Ämne: Re:  Javascript backslash in php dom object

12 maj 2014 kl. 11:11 skrev Uggla Henrik <Henrik.Uggla@xxxxxxxxxxxxxxx>:

> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux