Django cached template loader

Using the cached template loader instead of the default loader seems to have made a huge difference in the page load times especially on the blog. To enable the cached template loader change your template loaders to:

TEMPLATE_LOADERS = (
    ('django.template.loaders.cached.Loader', (
        'django.template.loaders.filesystem.Loader',
        'django.template.loaders.app_directories.Loader',
    )),
)

This wraps the filesystem and app_directories loader and uses them to load the template into memory the first time. From then on the templates should be stored in memory instead of read from disk on every template invocation.

Proudly powered by Pelican, which takes great advantage of Python.