You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build) :: make frontend asset urls idempotent if nothing changed
Frontend assets were hashed via gzip's output which includes a nonidempotent/deterministc timestamp from libflate. This changes the hash on each build.
Now we hash over the bundled file contents in `frontend/dist`.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
## unreleased
4
4
5
5
- Big number cards with a `color` once again display their main value in that color in light and dark themes, including values with a link. Their compact vertical padding has also been restored.
6
+
- Frontend asset urls are now idempotent between builds if nothing changed in the frontend. Now browsers will only re-download frontend assets when there has been a code change in them.
6
7
-`cargo install sqlpage` or any build from the crates.io tarball only needs Rust and no longer needs internet access. Pre-built binaries and the Docker image are unaffected.
7
8
- The browser assets are now bundled as a whole, so SQLPage's own scripts are minified along with their dependencies and are no longer readable in browser devtools.
0 commit comments