Check for regeneration in server a bit smarter - only when .html file is requested