Skip to content
Menu
WebHero | Yahya Mohammadi | Blog
  • Home
  • Web Development
  • Entertainment
WebHero | Yahya Mohammadi | Blog

How I built webhero.ir

Posted on January 20, 2019January 20, 2019
http://webhero.ir

If you came from Home PageΒ , you would have noticed it’s very different from the rest of the website! It’s the outcome of a single day thinking and I suppose the result wasn’t that bad πŸ™‚

I challenged myself to produce a flawless portfolio which has maximum optimization in performance, accessibility and page speed. I did the following steps to achieve the goals I had in my mind!

The web page should be eye catching

My first intention was to make a colorful webpage which surprises the visitors at first sight. I used 45 different colors to make for 45 cells. I wanted them to stay a while and look to the window for 4 or 5 seconds.
Then to interact with the page, they’ll saw a shaking hat at the top left corner and they will probably click it. The curtains will fall and the main important cells will be revealed. After that, they will know their way around and cell after cell will be checked.
There are 45 cells which show:

  • The abilities and my score
  • Links to my social web pages
  • Links to text contents about my career and how to contact me
  • Some pixels with no interaction, just to express my interests πŸ™‚

The web page should be fast! real fast!

With the help of GTMetrix , the optimizing and accessibility of the webpage was under very strict scrutiny. The page contains 66 requests and the total size is about 738KB, however, it will take about 1 second of your time to complete the loading of resources. Page caching via htaccess was a good approach for improving pagespeed. The PageSpeed Score is A(99%) and the Yslow score is A(94%).
Ask Google analytics and Cloudflare about why it didn’t reach the maximum of 100%! I searched everywhere to find out how to deal with
Leverage browser caching of the google analytics script and using of cookie-free domains on Cloudflare, but there weren’t standard ways to remove those errors!

Use a CDN and reduce extra effort!

To speed up your website it’s recommended to use a CDN. Cloudflare is one of the best around with extraordinary features like security and reliability. I used it and I’m very happy with the results.

Images should be optimized

As you saw, many images were used in the page, so I used some applications to achieve the highest level of image optimization in order to satisfy GTMetrix standards.

Browsers love optimized styles and scripts

Unlike us browsers love minified scripts and styles, also they love to see them at the end of the body tag not in the head!
If you want to load them at the end probably visitors will see a mess during loading of the page. To avoid that use CSS critical path and insert it to the head. It will make a nice rendering by using critical styles in the head!
If your Javascript file contains less than 100 lines, why don’t you make it inline? I Do it and it helped me with the page speed and I wrote pure javascript instead of attaching a library like jQuery!

SEO standards and metas will introduce you better to search engines and the world

here are some short lines of what I did on this score:

  • I didn’t miss any important meta tags, they will present you to the world of Internet. check yours with this helpful article about meta tags
  • Using H1 and P tags
  • Don’t miss using 404 error page
  • Use favicon
  • Consider using webmanifest file and robots.txt
  • Don’t use unnecessary redirects on htaccess file

Conclusion

Building this portfolio was an amazing experience for me as a web developer. I’ve learnt many interesting things on SEO and website performance upgrade. Thank you for paying attention to this post and Let me know if you want to add extra information or correct me if I was wrong about something by commenting on this post.
Have Fun πŸ™‚

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts

  • How I built webhero.ir
    January 20, 2019
    I challenged myself to produce a flawless portfolio which has maximum optimization in performance, accessibility and page speed. I did the following steps to achieve the goals I had in my mind!

  • Game of Thrones Season 8 Episode Run Times Reportedly Revealed
    January 23, 2019
    Form unofficial sources it has been reported the final four episodes of Game of Thrones will be as long as a feature film.

  • After a very long absence Opencart is back!
    January 28, 2019
    Almost a year and a half have passed since Opencart has released its 3.0.2.0 version and the failed 3.1.0.0 version!

Recent Posts

  • Opencart Oc blog SEO URL and keyword issue [solved]
  • The CV has been updated!
  • OC blog for Opencart 3.x and up
  • Opencart Root Categories SEO URLs Not Working When Path Contains Zero [SOLVED]
  • After a very long absence Opencart is back!

Categories

  • Entertainment
  • Web Development

Archives

  • January 2020
  • December 2019
  • June 2019
  • January 2019

Most Tags

blog CV ecommerce game-of-thrones GitHub hbo job opencart page-speed seo seo-urls tv-series ui version-update web-design web-development

Social Login

Continue with Google

Sorted By Months

  • January 2020
  • December 2019
  • June 2019
  • January 2019

Topics

  • Entertainment
  • Web Development

Qoutes

β€œTruth can only be found in one place: the code.”
― Robert C. Martin

©2023 WebHero | Yahya Mohammadi | Blog | Powered by SuperbThemes & WordPress