2018.1

Table Of Contents
manage its workload in such a way that the highest possible output speed is achieved.
For an explanation and guidelines, see "Engine configuration" on page108. See "Scheduling
preferences" on page117 for an overview of the dialogs.
Note
Connect Server and Designer each have their own distinct scheduling preferences. Use the
Connect Server Configuration tool to change Connect Server's settings.
Template optimization
When you find that the speed per Merge engine - the Content Creation speed - is low,
optimizing a template can make a huge difference. Here are some ways to optimize a template:
l
Use efficient selectors. Using very precise selectors in scripts will be much faster than
using a text selector, especially on large documents. See "Use an ID as selector" on
page702.
l
Optimize your scripts. Custom scripts with non-optimized loops and unnecessary DOM
manipulations can slow down Content Creation. Use the Designer's test facilities to find
out which scripts can be improved (see "Testing scripts" on page697 and "Optimizing
scripts" on page701).
l
Only run the necessary scripts. Normally the Designer will run all scripts for each and
every record and section. You can save time in the process of Content Creation by
organizing scripts in folders and setting their execution scope or even disabling them (see
"Managing scripts" on page694). Note that loading a JavaScript library is generally very
fast and is only done once for the record set.
l
Use a fast network and internet connection or avoid loading external or internet
resources. Using images, JavaScript or CSS resources located on a slow network or on a
slow internet connection will obviously lead to a loss of speed. While we do our best for
caching, a document with 5,000 records which queries a page that takes 1 second to
return a different image each time will, naturally, slow output generation down by up to 83
minutes.
l
Make sure to use optimized graphic resources. For instance, avoid using images with
transparency where no transparency is needed.
Page 29