Add automatic scaling down if page is too big
Fixed cache TTL seconds vs. milliseconds mixup.