Using get_headers was too resource intensive. Creating flat files by
passing DOM ID to cache_url provides fastest way for strpos to search
for valid contents.