WordPress Performance Optimisation Flashcards

(25 cards)

1
Q

What is WordPress performance optimization?

A

Performance optimization improves a WordPress site’s speed, user experience, and SEO.

Faster sites enhance user satisfaction, reduce bounce rates, and improve search engine rankings (e.g., Google PageSpeed). Freelancers optimize sites to meet client expectations, while enterprise architects ensure high performance for large-scale, high-traffic systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is site speed important for WordPress?

A

Site speed improves user experience, SEO rankings, and conversion rates.

Studies show a 1-second delay can reduce conversions by 7%. Freelancers optimize speed to boost client sales, while enterprise architects prioritize it for scalability and reliability in enterprise environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is caching in WordPress?

A

Caching stores pre-rendered pages or data to reduce server load and speed up delivery.

Caching serves static HTML instead of generating pages dynamically. Freelancers use caching plugins for clients, while enterprise architects implement server-level caching for high-traffic sites.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a caching plugin?

A

Answer: A caching plugin generates and serves static versions of WordPress pages.

Plugins like WP Rocket or W3 Total Cache create cached files to reduce PHP processing. Freelancers configure them for client sites, while enterprise architects integrate them with advanced caching systems like Varnish.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is browser caching?

A

Browser caching stores static assets (e.g., CSS, images) locally on a user’s device.

Enabled via .htaccess or plugins, it reduces repeat requests. Freelancers set it up for faster load times, while enterprise architects optimize cache headers for global user bases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the role of a Content Delivery Network (CDN)?

A

A CDN serves static assets from servers close to the user, reducing latency.

Services like Cloudflare or Akamai distribute assets globally. Freelancers enable CDNs for client sites, while enterprise architects use CDNs for scalable, high-performance content delivery.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does WP Rocket improve WordPress performance?

A

WP Rocket enables caching, minification, and lazy loading to boost site speed.

It simplifies optimization with features like page caching and file compression. Freelancers use it for quick client wins, while enterprise architects pair it with server-side solutions for large systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is database optimization in WordPress?

A

Database optimization removes unused data and optimizes tables for faster queries.

Tools like WP-Optimize clean transients, spam comments, and optimize tables. Freelancers perform it for clients, while enterprise architects automate it for large-scale databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are transients in WordPress?

A

Transients are temporary data stored in the database to cache query results.

Managed via set_transient() and get_transient(), they reduce database load. Freelancers use transients for performance, while enterprise architects optimize their lifecycle in high-traffic systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is image optimization in WordPress?

A

Image optimization reduces file sizes without sacrificing quality.

Plugins like Smush or ShortPixel compress images and use formats like WebP. Freelancers optimize images for client sites, while enterprise architects ensure scalable image delivery via CDNs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is lazy loading?

A

Lazy loading delays loading of images or videos until they’re visible in the viewport.

Enabled via plugins or native WordPress features, it reduces initial page load time. Freelancers implement it for faster sites, while enterprise architects use it for efficient resource management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is minification in WordPress?

A

Minification removes unnecessary characters from CSS, JS, and HTML files.

Plugins like Autoptimize minify files to reduce size. Freelancers use it for faster load times, while enterprise architects combine it with bundling for optimized asset delivery.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is concatenation in WordPress?

A

Concatenation combines multiple CSS or JS files into one to reduce HTTP requests.

Plugins like WP Rocket perform concatenation. Freelancers enable it for client performance, while enterprise architects ensure it doesn’t break complex dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is GZIP compression?

A

GZIP compression reduces file sizes before sending them to the browser.

Enabled via .htaccess or server settings, it speeds up asset delivery. Freelancers configure it for clients, while enterprise architects implement it for high-traffic environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the WP_Cache class?

A

WP_Cache is a WordPress class for managing in-memory caching.

Used via wp_cache_set() and wp_cache_get(), it caches data in memory. Freelancers use it in plugins, while enterprise architects integrate it with Memcached or Redis for scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is object caching?

A

Object caching stores database query results in memory for faster access.

Tools like Memcached or Redis cache queries. Freelancers enable it for client sites, while enterprise architects use it for high-performance, database-heavy systems.

17
Q

What is a reverse proxy cache?

A

A reverse proxy cache stores full pages at the server level to reduce processing.

Tools like Varnish cache entire pages. Freelancers may recommend it for clients, while enterprise architects implement it for large-scale, high-traffic WordPress sites.

18
Q

How does hosting affect WordPress performance?

A

Fast hosting with SSDs, PHP 8+, and optimized servers improves site speed.

Providers like SiteGround or Kinsta offer WordPress-specific optimizations. Freelancers choose hosting for clients, while enterprise architects select scalable hosting for enterprise needs.

19
Q

What is the heartbeat API in WordPress?

A

The Heartbeat API periodically sends AJAX requests for real-time updates.

It powers autosaves and admin notifications but can slow sites. Freelancers limit it via plugins, while enterprise architects control it for performance in multi-user environments.

20
Q

How do you disable the WordPress Heartbeat API?

A

Use wp_deregister_script(‘heartbeat’) or a plugin like Heartbeat Control.

Disabling or limiting Heartbeat reduces server load. Freelancers configure it for clients, while enterprise architects fine-tune it for high-traffic dashboards.

21
Q

What is query optimization in WordPress?

A

Query optimization reduces database queries for faster page loads.

Using WP_Query efficiently or caching results improves performance. Freelancers optimize queries in themes/plugins, while enterprise architects ensure minimal queries for large datasets.

22
Q

What is the wp_optimize plugin?

A

WP-Optimize cleans the database, compresses images, and enables caching.

It removes transients, optimizes tables, and improves speed. Freelancers use it for client maintenance, while enterprise architects automate it for large-scale site management.

23
Q

What is defer parsing of JavaScript?

A

Defer parsing delays JavaScript execution until the page loads.

Enabled via plugins or defer attributes, it prioritizes HTML rendering. Freelancers implement it for faster sites, while enterprise architects use it for optimized user experiences.

24
Q

What is critical CSS in WordPress?

A

Critical CSS is the minimal CSS needed to render above-the-fold content.

Generated by plugins like WP Rocket, it speeds up initial page display. Freelancers apply it for client sites, while enterprise architects integrate it for high-performance rendering.

25
What is the role of Google PageSpeed Insights in optimization?
Google PageSpeed Insights analyzes site speed and suggests improvements. It provides scores and recommendations like minification or lazy loading. Freelancers use it to optimize client sites, while enterprise architects benchmark performance for enterprise-grade systems.