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

Adding few VCL optimizations #117

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Adding few VCL optimizations #117

merged 1 commit into from
Nov 16, 2017

Conversation

vvuksan
Copy link
Contributor

@vvuksan vvuksan commented Nov 16, 2017

  1. By default so far we were requesting all objects from origin uncompressed then
    recompressing. This commit avoids compressing version static assets that are
    available in /static/version and lets origin do it
  2. There was a bug if a URL had /checkout/ anywhere in the URL we'd pass the URL.
    Condition was added not to pass if URL is from /static/version

1. By default so far we were requesting all objects from origin uncompressed then
recompressing. This commit avoids compressing version static assets that are
available in /static/version and lets origin do it
2. There was a bug if a URL had /checkout/ anywhere in the URL we'd pass the URL.
Condition was added not to pass if URL is from /static/version
@carbon198
Copy link

This VCL is very confusing, however the changes look 👍

@vvuksan vvuksan merged commit 98a8ea3 into master Nov 16, 2017
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