Skip to content

Instantly share code, notes, and snippets.

View XTechnologyTR's full-sized avatar
🛰️
Sahibinden Satılık Or<cin/>al Fikirler

XTechnology-WomenX XTechnologyTR

🛰️
Sahibinden Satılık Or<cin/>al Fikirler
View GitHub Profile
@XTechnologyTR
XTechnologyTR / Obtaining a Perfect Score with Google PageSpeed Insights.md
Created January 1, 2022 04:31
December 11 2016 - Obtaining a Perfect Score with Google PageSpeed Insights in WordPress

Obtaining a Perfect Score with Google PageSpeed Insights (in WordPress or other systems)

My personal blog (http://30.jonathanbell.ca) just got a little uglier and a little faster.

I recently set a lofty goal for my blog. I wanted the site to achieve a perfect score (100/100) with Google PageSpeed Insights. Google PageSpeed Insights is a (very picky) tool to help front-end people make their pages load quickly in the browser.

A lot of people will tell you that you don't need a perfect score from Google to have a fast and performant website. I would tend to agree – especially after executing these changes 😓. You don't need to have a 100/100 score in order to have a speedy, modern, and accessible website. Still, I was hungry to try for the 100/100 score! After I got going on this idea 100 seemed like the holy grail. I wanted it. I hungered for it. After a lot of fussing, I got it. Well, ok.. I scored 99/100 but you'll see why I lost one point

@XTechnologyTR
XTechnologyTR / functions.php
Created January 1, 2022 03:27 — forked from metaylimpo/functions.php
Example of wordpress theme function file for several optimizations
/*
DO NOT COPY\PASTE. Take only what you need carefully.
The following code is just a few **examples** of optimizations that you can do in functions.php file.
*/
<?php
// disable google fonts
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
@XTechnologyTR
XTechnologyTR / index.html
Created January 16, 2021 06:30
Pass Strength Shield
<!--
Developed with 💗 by Alex Lerida
➡ Twitter: @xlerida
➡ Dribbble: @lerida
-->
<div id="app"></div>