DEV Community

Özlem
Özlem

Posted on

2

Kullanılmayan CSS leri Görüntüleme

  1. Chrome Dev Tools ile:

Örneğin instagram landing sayfası için deneyelim:

Chrome ile açtığımız sayfada sağ tıklayıp Denetle(Inspect) seçeneğine tıklıyoruz.

Mac için (Command + Shift + P)
Windows ve Linux için (Control + Shift + P)

basarak çıkan komut satırına "covarage" yazıyoruz.

image

Çıkan tabda yenile işaretine tıklıyoruz.
image

Çıkan ekranda hem css hem de js dosyalarının kullanım oranları yazıyor.

image

url filtresine css yazarak, css dosyalarını filtreliyorum.

Dosya üzerine tıkladığımda, yukarıda kırmızı ve mavi olarak kullanılan ve kullanılmayan css sınıflarını görebiliyorum.

image

Kaynak: https://developers.google.com/web/tools/chrome-devtools/css/reference#coverage

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay