Skip to content

Commit 1d9e1dc

Browse files
committed
Improve performannce - rezise image, lazyloading
1. Enabled lazyloading option 2. Rezised images to max width 831 (i.e.831x467) and replaced them with .webp format 3. Removed the Roboto font from CSS - solve the bold font size issue on other devices having OS other than mac and windows
1 parent 44dd92d commit 1d9e1dc

File tree

71 files changed

+36
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+36
-37
lines changed

‎Gemfile.lock

+1-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ GEM
6565
sass-listen (4.0.0)
6666
rb-fsevent (~> 0.9, >= 0.9.4)
6767
rb-inotify (~> 0.9, >= 0.9.7)
68-
wdm (0.1.1)
6968

7069
PLATFORMS
7170
ruby
@@ -80,7 +79,6 @@ DEPENDENCIES
8079
kramdown
8180
kramdown-parser-gfm
8281
rouge
83-
wdm (>= 0.1.0)
8482

8583
BUNDLED WITH
86-
2.1.4
84+
2.2.11

‎_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ adsense-data-ad-client: "ca-pub-4206814002327904"
5858
adsense-data-ad-slot: "1363087678"
5959

6060
# Lazy Images ("enabled" or "disabled")
61-
lazyimages: "disabled"
61+
lazyimages: "enabled"
6262

6363
exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]

‎_pages/about.md

+5-5

‎_posts/groovy/2020-12-31-hello-world-in-groovy.md

+6-6

‎_posts/java-basic/2019-11-29-java-introduction.md

+2-2

‎_posts/java-files-io/2021-01-03-read-file-using-bufferedreader.md

+1-1

‎_posts/java-string/2019-11-30-compare-two-strings-lexicographically-in-java.md

+3-3

‎_posts/java-string/2019-12-02-reverse-a-string-in-java.md

+3-2

‎_posts/java-string/2019-12-10-compare-strings-in-java.md

+4-4

‎_posts/java-string/2019-12-12-java-substring-method.md

+2-2

‎_posts/java-string/2019-12-24-difference-between-stringbuffer-and-stringbuilder.md

+1-1

‎_posts/java-string/2020-12-24-convert-stringbuilder-to-string-in-java.md

+1-1

‎_posts/java-uuid/2020-12-19-uuid-in -java.md renamed to ‎_posts/java-uuid/2020-12-19-uuid-in-java.md

+2-2

‎_posts/java-uuid/2020-12-23-create-uuid-in-java.md

+1-1

‎assets/css/screen.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ span.post-read-more a:hover {
330330
}
331331

332332
.article-post {
333-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
333+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
334334
font-size: 1.1rem;
335335
line-height: 1.84;
336336
color: rgba(0, 0, 0, .8);
@@ -711,7 +711,7 @@ h6 {
711711
}
712712

713713
.layout-page .article-post {
714-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
714+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
715715
font-size: 1rem;
716716
}
717717

@@ -933,4 +933,4 @@ right social connect svg's.
933933

934934
.lh-condensed-ultra{
935935
line-height: 1!important;
936-
}
936+
}

‎assets/images/13.jpg

-19.9 KB
Binary file not shown.
16.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-102 KB
26 KB
Binary file not shown.
-9.17 KB
7.21 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

‎assets/images/2020-12-19/uuid.png

-8.12 KB

‎assets/images/2020-12-19/uuid.webp

15.9 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-56.3 KB
15.1 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-113 KB

‎assets/images/4.jpg

-54.8 KB

‎assets/images/jumbotron.jpg

-199 KB

0 commit comments

Comments
 (0)