-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Create a cache-busted file + regular one. #19
Comments
Can you please explain in details what exactly do you want to achieve? If you want to have a map of "logical name" (e.g. |
Hi Aleksey, I simply want to generate two files, one digest version (when The non-digest assets will be used by an external site not compiled with Jekyll. I've hacked my sites to create the non-digest assets by using the Liquid tag |
After some thinking (OK it was 2 months of thinking, sorry) I tend to close this issue. I don't see this feature as part of the plugin core. To avoid kludges with empty file, you can add small one-liner into the site building pipeline (task): find assets -type f | grep -v '\.gz$' | while read f; do cp $f $(echo $f | sed -r 's/-[a-f0-9]{32}(\.[^.]+)$/\1/'); done |
It would be great if there was an option to generate both a regular asset and a cache-busted asset.
I'm using my site programatically and I need to know the location of particular assets beforehand.
I could set
cachebust
tonone
and be done with it, but I like cache bustin'.The text was updated successfully, but these errors were encountered: