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

Add 'gzip' plugin #680

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Conversation

into-the-v0id
Copy link
Contributor

Description

Add plugin to compress files with gzip.

Uses https://deno.land/x/[email protected]

Related Issues

None

Check List

  • Have you read the
    CODE OF CONDUCT
  • Have you read the document
    CONTRIBUTING
    • One pull request per feature. If you want to do more than one thing,
      send multiple pull request.
    • Write tests.
    • Run deno fmt to fix the code format before commit.
    • Document any change in the CHANGELOG.md.

into-the-v0id added a commit to into-the-v0id/lume that referenced this pull request Oct 24, 2024
into-the-v0id added a commit to into-the-v0id/lume that referenced this pull request Oct 24, 2024
Copy link
Member

@oscarotero oscarotero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. I left a couple comments, let me know your thoughts!

Also, I have this issue to create a middleware to serve precompressed files, so this plugin would be the first step to implement it!

deps/foras.ts Outdated Show resolved Hide resolved
plugins/gzip.ts Outdated Show resolved Hide resolved
@oscarotero oscarotero mentioned this pull request Oct 25, 2024
6 tasks
into-the-v0id added a commit to into-the-v0id/lume that referenced this pull request Oct 25, 2024
@oscarotero oscarotero merged commit e851581 into lumeland:main Oct 26, 2024
6 checks passed
@oscarotero
Copy link
Member

This is great. Thanks so much!

@into-the-v0id into-the-v0id deleted the feature/plugin-gzip branch October 26, 2024 09:53
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.

2 participants