balupton/docpad — Issue #114: Generation is slowed down by videos
Author: html5anchor
Created: 2011-12-22 22:41:57+00:00
State: open

If you have some videos in your `public` directory, it can take minutes before the site is generated.

This issue is not occurring if you embed the videos from a video provider.
Sometimes you don't want to embed videos because:

- you don't want to upload them yet (e.g. when working locally with a early version of the video)
- you want to host them yourself

## Possible solutions

- compare the last modified timestamp of the videos in the `out`directory and the videos in the `src/public`directory.
- create an option in the configuration for "cached folders". These folders would only be copied again after a certain time.

These solutions could also be applied to images or other larger files like audio, pdf, etc.