PreImport allows you to import a module before the next page request.
The advantage of this is that modules that take a long time to load will all ready be loaded when a user requests a page. The module still needs to be explicitly imported, but the loading and initialization of the module will have already been completed. This can lead to increased peformance when importing heavy modules that take a long time to load and initialize.
There are three things to note about using the PreImport directive:
sys.path).