From 150ba3a7e2dc246d2997b7ee422ff72953411b40 Mon Sep 17 00:00:00 2001 From: erciccione Date: Fri, 12 Mar 2021 16:49:25 +0100 Subject: [PATCH] Improve performance of some pages by lazy loading images Lazy loading makes web pages load images only when they are actually needed (when they need to be displayed to the user), thus saving resources for both host and users and improving performances for the latter. index.html: 474 kB (546 ms) -> 214kB (373ms) get-started/what-is-monero/index.md: 320 kB (548 ms) -> 246kB (525 ms) get-started/accepting/index.md: 254 kB (747 ms) -> 193kB (536 ms) downloads/index.md: 397 kB (595 ms) -> 243kB (383 ms) (tests ran locally) --- downloads/index.md | 26 +++++++++++++------------- get-started/accepting/index.md | 8 ++++---- get-started/what-is-monero/index.md | 8 ++++---- index.html | 12 ++++++------ 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/downloads/index.md b/downloads/index.md index 62237dac..2d56d529 100644 --- a/downloads/index.md +++ b/downloads/index.md @@ -48,7 +48,7 @@ permalink: /downloads/index.html {% t downloads.gui_intro %}
- {% t accessibility.guiscreen %} + {% t accessibility.guiscreen %}
- {% t accessibility.cliscreen %} + {% t accessibility.cliscreen %}
@@ -300,11 +300,11 @@ permalink: /downloads/index.html
- ledger logo - Trezor logo + ledger logo + Trezor logo
- Kastelo logo + Kastelo logo
diff --git a/get-started/accepting/index.md b/get-started/accepting/index.md index dd7e090b..d6cf7e18 100644 --- a/get-started/accepting/index.md +++ b/get-started/accepting/index.md @@ -17,10 +17,10 @@ permalink: /get-started/accepting/index.html

{% t accepting.title_gui %}

{% t accepting.gui1 %}

{% t accepting.gui2 %} {% t accepting.guilinkguide %}

- receive page + receive page

{% t accepting.guiinstructions %}

{% t accepting.guimerchant %} {% t accepting.guilinkguide1 %}.

- merchant view + merchant view

{% t accepting.guimerchant1 %}

{% t accepting.guisteps %}

    @@ -36,9 +36,9 @@ permalink: /get-started/accepting/index.html

    {% t accepting.clicreateaccount %}

    account new [label text with white spaces allowed]

    {% t accepting.clicreateaccount1 %}

    - accounts + accounts

    {% t accepting.cliindex %}

    - accounts switch + accounts switch

    {% t accepting.cliindex1 %}

    address new [label text with white spaces allowed]

    {% t accepting.clinotes %}

    diff --git a/get-started/what-is-monero/index.md b/get-started/what-is-monero/index.md index 9053021d..5e2b3041 100644 --- a/get-started/what-is-monero/index.md +++ b/get-started/what-is-monero/index.md @@ -19,12 +19,12 @@ permalink: /get-started/what-is-monero/index.html

    {% t what-is-monero.leading_para2 %}

    - Encrypted lock + Encrypted lock
    - Classified document + Classified document

    {% t what-is-monero.confidential %}

    @@ -38,12 +38,12 @@ permalink: /get-started/what-is-monero/index.html

    {% t what-is-monero.electronic_para1 %}

    - Electronic cash + Electronic cash
    - Academic growth + Academic growth

    {% t what-is-monero.grassroots %}

    diff --git a/index.html b/index.html index 33d17523..41c8fbb4 100644 --- a/index.html +++ b/index.html @@ -45,12 +45,12 @@ permalink: index.html

    {% t home.downloads %}

    - Create wallet + Create wallet
    - Exchange + Exchange

    {% t home.getcoins %}

    @@ -66,12 +66,12 @@ permalink: index.html

    {% t home.merchants %}

    - Merchants + Merchants
    - FAQ + FAQ

    {% t home.answers %}

    @@ -135,12 +135,12 @@ permalink: index.html

    {% t home.contributing %}

    - Contribute + Contribute
    - Monero Research Lab + Monero Research Lab

    {% t titles.researchlab %}