department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
97 stars 69 forks source link

FE: Remove Fetch of Forms File HEAD during PDF Click Event #10236

Closed dsasser closed 2 months ago

dsasser commented 2 years ago

BLOCKER(s)  

Description

Update: This API call is unique to the download flow on Form Detail pages; the Form Search page doesn't have this extra API call.

During discovery performed under #10061, we identified a seemingly redundant HTTP call to fetch the HEAD of the linked Form PDF file, which is occurring during the PDF Click event. This only occurs if the PDF is hosted by www.va.gov (not vba.va.gov, or any other of the other domains).

Remove this HTTP call occurring during the PDF click event.

Here's where to find the big Mural board (pictured below).

VACMS-10061 - Discovery Form FE Workflow.png

Acceptance Criteria

CMS Team

Please check the team(s) that will do this work.

wesrowe commented 2 years ago

Updated issue to reflect that spike https://github.com/department-of-veterans-affairs/va.gov-cms/issues/10562 might be a better approach.

FranECross commented 2 months ago

Closing old iceboxed ticket.