make debug header configurable. fix #49
Merge pull request #51 from ddeboer/cache-debug-config

make debug header configurable.