Skip to content

Manifest issue when used in combination with asset_hash #32

Description

@kseyedmehdi

Hi,

I've tried the manifest flag but unfortunately it either doesn't work or it does work but not as I expect it.
When i run middleman build, the build steps for my site is in the following order:

  1. copy over / generate updated html & images etc.
  2. minify_javascript
  3. minify_css
  4. minify_html
  5. imageoptim
  6. asset_hash
  7. gzip

So each time i deploy, step 1 updates all the images, causing step 5 to optimize the images from scratch which for me takes up to 20+ minutes.

What i kind of hoped that the manifest flag would do is that it would prevent step 1 to copy over images unless they are really updated. Now step 1 copies over the images to the build dir from source because the build version is not similar which is correct because it's optimized.

Any ideas on this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions