Comments (2)
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.
from jekyll-assets.
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.
from jekyll-assets.
Related Issues (20)
- [SassC::FunctionsHandler] undefined method `asset_path' HOT 7
- magick:flip does not work, passes extra cli argument
- FileStore caching under Sprockets 4.x / Issue with `digest_path` HOT 4
- Dependabot can't resolve your Ruby dependency files
- Get a list of assets processed in SCSS file so they can be preloaded
- Where in worlds name is the documentation for Jekyll assets 2, because I cannot get 3 to work and can't find any links whatsoever on 2. HOT 1
- Warnings on Ruby 2.7
- Auto-generate image width and height into html
- Can not run bundle install because jekyll-assets dependency on macOS Catalina
- Uglifier issue: Extra configuration is required for Uglifier 3.x to support ES6 in production mode (it is supported in development mode) #2755 HOT 1
- Jekyll-assets ~> 3.0 does not support Jekyll 4.2.0 HOT 3
- Uglifier/UglifyJS doesn't support modern ES6 HOT 2
- Can't figure out how to insert an image HOT 2
- SCSS AutoPrefixer Doesn't output any prefixes.
- CDN destination is treated as boolean
- Dependabot can't resolve your Ruby dependency files
- Release please HOT 5
- asset_path is scss is never called HOT 3
- Asset helpers not working post upgrading to ruby 2.7 HOT 1
- pages: Jekyll-Assets deployment URL is wrong (this repo)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-assets.