Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(merc): MERC-9364 Use CDN Original images for webdav - cache control #273

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

kchu93
Copy link
Contributor

@kchu93 kchu93 commented Jul 14, 2023

What? Why?

Use CDN Original images for webdav - cache control.

If a developer/merchant decide to use the handlebar to import images from WebDav into the theme ({{cdn "webdav:/img/image.jpg"}}), there is no cache-control header when the image is presented to the storefront.

Similar to our Image Manager, we should be using the cdn original images (Similar to Jinsoo's PR here MERC-7127

Example images:
Original /content/

Updated /images/stencil/original/content/

How was it tested?

Tested locally

cc @bigcommerce/storefront-team

@kchu93 kchu93 force-pushed the MERC-9364 branch 2 times, most recently from 69c2c47 to c5c2ed4 Compare July 15, 2023 18:14
@kchu93 kchu93 requested review from zvuki, jkanive, bc-jz and a team July 17, 2023 18:30
@jairo-bc jairo-bc marked this pull request as ready for review July 17, 2023 21:02
jairo-bc
jairo-bc previously approved these changes Jul 17, 2023
@kchu93
Copy link
Contributor Author

kchu93 commented Aug 3, 2023

Rebased!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants