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 support for brotli and gzip assets #92

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andypost
Copy link
Contributor

@andypost andypost commented Jun 14, 2023

Closes #91

  • needs to improve file mast in assets match
  • could use better naming for routes

- needs to improve file mast in assets match
- could use better naming for routes
"match": {
"uri": [
"*.css",
"*.js"
Copy link
Contributor Author

@andypost andypost Jun 14, 2023

Choose a reason for hiding this comment

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

needs better mask for dynamic assets

  • RewriteRule ^(.*css_[a-zA-Z0-9-_]+)\.css$ $1\.css\.br [QSA]
  • RewriteRule ^(.*js_[a-zA-Z0-9-_]+)\.js$ $1\.js\.br [QSA]

@andypost
Copy link
Contributor Author

andypost commented Jul 9, 2023

@andypost
Copy link
Contributor Author

@nicolas-guerrier static files delivery needs more love

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.

Unit config for .br files delivery instead of .css/.js
1 participant