Customizing the progress bar
The progress bar is a fake progress bar, just there to give your users a sense that something is happening.
In the future, it should be possible to make the bar show real progress (by looking at the server’s
The bar is displayed even if the page has been loaded instantly, in the future this will change. Discussion on GitHub.
When the visitor zooms on the page or rotates his device, the bar’s size and position automatically adjust, so it works even if your site isn’t optimized for mobile.
By default, the progress bar’s color is
#29d, you can change that with CSS:
You may also make the bar go away:
The way to make the bar go away isn’t optimal. In a later version of InstantClick it will be possible not to have it run by passing an argument to
Tracking assets changes
Documentation table of contents