DEV Community

ellie miguel
ellie miguel

Posted on

Tiny performance tweaks I apply on WordPress sites

Just a few small details I tend to apply when finishing WordPress projects.

I build mostly with Elementor and JetEngine, so this list comes from that stack.


1. Deactivate default WordPress emojis

They load an extra JS file from the start.

You can remove them with this code or a plugin like Perfmatters.

remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );

2. Strip unused styles from forms

Form plugins often inject CSS globally.
If you're only using 1 form on 1 page, disable global styles.

3. Clean your database

I use WP Optimize or Advanced Database Cleaner.
Delete transients, revisions, and other forgotten debris.

4. Lazy load everything (but be smart)

Yes, images. But also iframes, videos, and maybe widgets.
Don’t lazy load the logo or anything above the fold.

5. Tweak Heartbeat API

Reduce the frequency or disable it on the frontend.
Some plugins like WP Rocket let you control this easily.

These aren’t magic bullets, but they help.
Sometimes shaving 100ms is just removing that extra emoji script :)

🌱 Ellie Miguel – elliemiguel.es

Top comments (0)