Refactored HTTP Conditional GET code using dupin_record_is_changed () and dupin_link_record_is_changed ()