Use asset fingerprinter to serve images

This means we can cache them forever, and only invalidate the cache
when the image changes.
This commit is contained in:
Chris Hill-Scott
2018-11-29 14:28:29 +00:00
parent 5bf6bdcd20
commit 643dca0071
5 changed files with 15 additions and 16 deletions

View File

@@ -54,7 +54,7 @@
</p>
</div>
<div class="column-half">
<img src="{{ asset_path }}images/product/01-templates.svg" alt="">
<img src="{{ asset_url('images/product/01-templates.svg') }}" alt="">
</div>
</div>
</div>
@@ -71,7 +71,7 @@
</div>
<div class="column-half">
<img
src="{{ asset_path }}images/product/02-reporting.svg"
src="{{ asset_url('images/product/02-reporting.svg') }}"
alt="A screenshot of GOV.UK Notify showing counts of emails and text messages sent"
>
</div>
@@ -88,7 +88,7 @@
phone&nbsp;numbers and Notify sends the messages.
</p>
<img
src="{{ asset_path }}images/product/03-spreadsheet.svg"
src="{{ asset_url('images/product/03-spreadsheet.svg') }}"
alt="A screenshot of a spreadsheet with columns for email address, name and colour"
>
</div>
@@ -98,7 +98,7 @@
back office system.
</p>
<img
src="{{ asset_path }}images/product/04-api.svg"
src="{{ asset_url('images/product/04-api.svg') }}"
alt="A screenshot of some computer code with a notify.send_email function"
>
</div>
@@ -180,7 +180,7 @@
</div>
<div class="column-half">
<img
src="{{ asset_path }}images/product/team.jpg"
src="{{ asset_url('images/product/team.jpg') }}"
alt="A photo of the GOV.UK Notify team gathered around a big screen. One team member is pointing at a graph on the screen."
>
</div>