8000 v2.3 by codewithkyle · Pull Request #23 · codewithkyle/craft-jitter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v2.3 #23

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

Merged
merged 10 commits into from
Aug 30, 2022
Merged

v2.3 #23

merged 10 commits into from
Aug 30, 2022

Conversation

codewithkyle
Copy link
Owner
@codewithkyle codewithkyle commented Aug 23, 2022

Added

  • CDN support (#22)
  • automatically delete transformed images when the source image is deleted from Craft (#19)
  • new config settings:
    • cdn
      • must be the CDN's origin URL
    • acl
      • controls the files default ACL value
      • supports "private" (default) and "public-read"

Fixed

  • images stored in S3 or Spaces now use the correct Content-Type header (#21)
    • previously always used application/octet-stream (default value for S3-compatible storage solutions)
    • now uses correct MIME type

@codewithkyle
Copy link
Owner Author

These changes work with Digital Ocean Spaces CDN. This PR is blocked until I can test S3 + CloudFront.

@codewithkyle
Copy link
Owner Author

I didn't test it but I watched this video https://www.youtube.com/watch?v=KIltfPRpTi4 and it seems like the CloudFront works the same. Once you setup your CDN origin and link it to a S3 bucket you can request file names from that origin and it will handle cache hits and cache misses.

@codewithkyle codewithkyle merged commit 0c0cb2b into master Aug 30, 2022
@codewithkyle codewithkyle deleted the wip-2.3 branch October 6, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0