janosrusiczki / japr

Jekyll Asset Pipeline Reborn - Powerful asset pipeline for Jekyll that collects, converts and compresses JavaScript and CSS assets.
MIT License
51 stars 9 forks source link

filename hash changes too often #12

Open pearsonca opened 10 years ago

pearsonca commented 10 years ago

Using jekyll build out-of-the-box appears to update the mod times on js / css and other precursor files regardless of actual changes to the file. This in turn means changes to the file name md5 component, which (for a github pages site using jekyll w/ japr) means lots of not-real changes as script and style head elements change.

Not a performance killer, but it definitely adds up on site with lots of pages and many small changes.

Request either usage guidance with jekyll to avoid this issue (there may be some config option I'm missing) or modification of japr to md5 on, say, the file contents instead.