You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tend to close this issue in favor of filters. At least in for of {% asset_path foobar .gz %} it seems to add more confusions than solutions. The only acceptable syntax I see is:
{% stylesheet app gzip:true %}
If there would be more requests, or a good use case (I don't see a lot of profit having this as part of the core feature) I'll consider implementing this.
Good point. My idea was to get gzipped files running with Amazon Cloudfront, but in the end I could not get it working in a nice workflow. For Amazon AWS/S3 to work, the proper headers need to be set on each file upload separately, whereas nginx/Apache can handle that with a global config, which is way more easy.
Using nginx with success now. Thanks for looking into it.
I love the auto generated gzip functionality for css and js files, but have issues linking to the gzipped version of the file. My site runs on Apache.
On Twitter @ixti suggested to use a filter...
... but a tag like this would be more versatile imo.
Good somebody work this out?
Cheers
The text was updated successfully, but these errors were encountered: