Minimize server lookups Use client data as much as possible to eliminate the need for time-consuming server lookups. Client scripting uses either data available on the client or data retrieved from the server. The top ways to get information from the server are g_scratchpad and asynchronous GlideAjax lookup. The primary difference between these methods is that g_scratchpad is sent once when a form is loaded (information is pushed from the server to the client), whereas GlideAjax is dynamically triggered when the client requests information from the server. Note: GlideRecord and g_form.getReference() are also available for retrieving server information. However, these methods are no longer recommended due to their performance impact. Both methods retrieve all fields in the requested GlideRecord when most cases only require one field. Example - retrieve server data using g_scratchpadThe g_scratchpad object passes information from the server to the client, such as when the client requires information not available on the form.Example - retrieve server data using asynchronous GlideAjaxAsynchronous GlideAjax allows you to dynamically request information from the server.