feat: cache bursting for UI images
authorZoran Regvart <zoran@regvart.com>
Tue, 7 Dec 2021 12:48:19 +0000 (13:48 +0100)
committerZoran Regvart <zoran@regvart.com>
Tue, 14 Dec 2021 10:00:00 +0000 (11:00 +0100)
commit3403988883092088a40daadecc3b54fbcb6891ab
tree24fc23914608a922c40f74782f689555c4687e0f
parentdfd93db0647f608506e59abab7a84b6d8811defd
feat: cache bursting for UI images

This configures the UI build to generate files with the hash within them
for images in addition to the CSS and JavaScript files we had. Also
layouts/partials that were pointing to the un-hashed versions were
updated.

Since images are quite possibly linked from other websites, most likely
the logo image, a set of redirect rules was added not to break those
sites.

An opportunity to cleanup some long standing CSS issues was also taken.

Fixes #702
29 files changed:
.pnp.cjs
.yarn/cache/gulp-rev-rewrite-npm-5.0.0-7f674f2659-4b75625849.zip [new file with mode: 0644]
.yarn/cache/lodash.escaperegexp-npm-4.1.2-c5b90e0e9c-6d99452b1c.zip [new file with mode: 0644]
antora-ui-camel/.pnp.cjs
antora-ui-camel/.yarn/cache/end-of-stream-npm-1.4.1-ccccf6139c-ac0f75d57c.zip [deleted file]
antora-ui-camel/.yarn/cache/end-of-stream-npm-1.4.4-497fc6dee1-530a5a5a1e.zip [new file with mode: 0644]
antora-ui-camel/.yarn/cache/gulp-rev-rewrite-npm-5.0.0-7f674f2659-4b75625849.zip [new file with mode: 0644]
antora-ui-camel/.yarn/cache/lodash.escaperegexp-npm-4.1.2-c5b90e0e9c-6d99452b1c.zip [new file with mode: 0644]
antora-ui-camel/.yarn/cache/through2-npm-4.0.2-da7b2da443-ac7430bd54.zip [new file with mode: 0644]
antora-ui-camel/gulp.d/tasks/build.js
antora-ui-camel/package.json
antora-ui-camel/src/css/docs.css
antora-ui-camel/src/css/frontpage.css
antora-ui-camel/src/css/static.css
antora-ui-camel/src/partials/footer-content.hbs
antora-ui-camel/src/partials/head-meta.hbs
antora-ui-camel/src/partials/header-content.hbs
antora-ui-camel/yarn.lock
config.toml
content/_index.md
content/community/_index.md
content/docs/_index.md
gulpfile.js
layouts/partials/footer.html
layouts/partials/header.html
layouts/shortcodes/icon.html [new file with mode: 0644]
static/.htaccess
tests/redirect.sh
yarn.lock