Jump to content
MakeWebGames

Googleapi Ajax


DungeonMaster

Recommended Posts

If you edit your config/config.php file you can define where the jQuery lib is loaded. Mind you it's not a google api, it's jQuery:

$jQueryLib = "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js";

Put the file on your server and change this to point to your new URL. However honestly I would think it's a bad idea. Why? Because if your players browse a bit around, they will quiet certainly encounter jQuery more than once, and that will allow the browser to cache it. Also, why not offload some of your load to google?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...