Skip to main content
GrN.dk

Main navigation

  • Articles
  • Cases
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Join my community / free newsletter — sign up here

Breadcrumb

  1. Home

Optimizing Drupal: A Practical Performance Checklist

By Greg Nowak. Updated 28 July 2026.

Drupal performance work should make the website more useful, not merely produce a more flattering score. For business owners, operations leads, and agency teams, the meaningful questions are whether important pages load promptly, interactions feel responsive, and visitors can complete their task without the interface shifting underneath them.

The best results usually come from fixing a few structural problems: ineffective caching, an overloaded theme, oversized images, unnecessary JavaScript, or slow third-party services. Start with evidence, connect each problem to a business-critical page, and leave minor score-chasing until later.

Measure the pages the business depends on

Test a representative set rather than the homepage alone: a landing page, content detail page, search or listing page, conversion path, and any logged-in workflow used by customers or staff. Run mobile and desktop tests, because mobile devices and networks often expose problems that office laptops conceal.

PageSpeed Insights combines field data from real visits, when sufficient data exists, with a controlled Lighthouse test. Field data is the better indicator of what users experience; lab data is more useful for reproducing a problem during development. Also remember that Lighthouse cannot measure Interaction to Next Paint directly because there is no real user interaction. Its Total Blocking Time diagnostic is a useful laboratory proxy, not a replacement for field INP.

Record the current Core Web Vitals—Largest Contentful Paint, Interaction to Next Paint, and Cumulative Layout Shift—alongside server response time, the affected template, and the three most credible diagnostics. This creates a baseline that can be checked after each release.

Drupal performance triage: where to look first
Observed problem Likely area First practical check
Anonymous pages are slow on repeated visits Page cache, reverse proxy, or CDN Inspect cache headers and compare the first and second requests
Logged-in pages remain heavy Dynamic Page Cache, Views, or personalized blocks Review cacheability metadata and expensive queries
The main content appears late Server response, hero media, or render-blocking assets Break LCP into backend, resource-discovery, and download delays
Clicks and typing respond slowly Long JavaScript tasks or third-party code Profile the interaction and remove work from the main thread
The page jumps during loading Images, embeds, fonts, or BigPipe placeholders Reserve dimensions and space before content arrives

Get Drupal’s caching layers working together

Internal Page Cache stores complete responses for anonymous visitors and is enabled by default in modern Drupal. On a conventional content or campaign site, a second request to an unchanged public page should normally become a cache hit. Treat anonymous personalization carefully: a cart, session-specific block, or similar variation may require a different caching strategy. Sites already using a properly configured reverse proxy or CDN may choose to rely on that external page cache instead.

Dynamic Page Cache is useful for anonymous and authenticated traffic. It reuses the cacheable portions of a page while Drupal turns genuinely variable components into placeholders. When it underperforms, the cause is often custom code or a contributed component with incomplete cache tags, contexts, or maximum-age information.

BigPipe can improve perceived speed on pages containing personalized or otherwise uncacheable components. Drupal sends the reusable page structure first and streams placeholder replacements afterwards. It works particularly well with Dynamic Page Cache, but late content still needs reserved space to avoid layout shifts.

Retire outdated AdvAgg assumptions

Advanced CSS/JS Aggregation was a sensible recommendation for older Drupal installations. It is no longer the default answer. The project’s current guidance says AdvAgg is obsolete on Drupal 10.1 or later and Drupal 11 because core now includes most of its relevant functionality; those installations are advised to uninstall it.

Begin with Drupal’s production settings at admin/config/development/performance. Test core CSS and JavaScript aggregation, then inspect which libraries each template attaches. Aggregating ten unnecessary scripts still leaves ten unnecessary scripts. Removing a library from pages that do not use it is generally more valuable than finding a more elaborate way to bundle it.

Teams deploying custom assets should also review their *.libraries.yml versioning. Since Drupal 10.1.2, an explicit library version participates in the hash used for aggregated files. If the referenced CSS or JavaScript changes, update that version—or omit it and use Drupal’s content-based behavior—to prevent stale assets at browsers and edge caches.

Run a quick technical check

These commands provide a useful first look. Run them in the appropriate application environment and replace the example hostname:

drush pm:list --status=enabled --type=module | grep -E 'page_cache|dynamic_page_cache|big_pipe'
drush pm:enable page_cache dynamic_page_cache big_pipe -y

for request in 1 2; do
  curl -sI https://www.example.com/ | grep -iE 'cache-control|age|x-drupal-cache|x-drupal-dynamic-cache'
done

A first X-Drupal-Cache: MISS followed by HIT is expected for a cacheable anonymous page using Internal Page Cache. Do not diagnose from one header alone: a CDN can serve the response before Drupal, and the Internal Page Cache documentation notes that X-Drupal-Dynamic-Cache may remain MISS when the complete page is already handled by Internal Page Cache.

Turn diagnostics into a shippable backlog

Prioritize server response and cache misses first, then image delivery, unnecessary JavaScript, render-blocking assets, and layout stability. For each item, record the affected page, user impact, likely owner, proposed change, release risk, and measurement to repeat afterwards. This turns a vague “make Drupal faster” request into work that hosting, backend, frontend, content, and analytics teams can divide sensibly.

When specialist help is worthwhile

Outside help becomes useful when stable pages keep missing cache, authenticated workflows remain slow, releases repeatedly damage Core Web Vitals, or responsibility is bouncing between Drupal, the theme, hosting, the CDN, and third-party scripts.

Greg can help isolate the bottleneck, separate safe improvements from architectural work, and give your team a prioritized implementation plan. If your performance report has produced more questions than decisions, start a practical conversation about the site.

Related on GrN.dk

  • Why Your Website's Third-Party Stack Needs a Real Owner
  • Critical CSS for Faster Pages: When It Helps and When It Does Not
  • AI Crawler Control for Business Websites: Protect Content Without Vanishing from Search

Need help with this kind of work?

Talk to Greg about Drupal performance Get in touch with Greg.

Sources

  • Drupal.org: Internal Page Cache
  • Drupal.org: Dynamic Page Cache overview
  • Drupal.org: BigPipe module overview
  • Drupal.org: Advanced CSS/JS Aggregation
  • web.dev: Web Vitals
Last modified
2026-07-28

Tags

  • Drupal
  • Performance optimization
  • Core Web Vitals
  • Caching
  • Technical SEO
  • Log in to post comments

Review Greg on Google

Greg Nowak Google Reviews

 

Illustrated infographic summarizing: AI Agents Need a Spending Brake, Not Just a Billing Dashboard
AI Agents Need a Spending Brake, Not Just a Billing Dashboard
2026-08-08

AI agent costs can climb inside a single workflow. Runtime budgets, loop detection, outcome metrics, and safe handoffs keep that spending under control.

Illustrated infographic summarizing: Drupal 12 Slipped to December. Drupal 10 Still Runs Out of Road
Drupal 12 Slipped to December. Drupal 10 Still Runs Out of Road
2026-08-07

Drupal 12 arrives as Drupal 10 support ends in December 2026. Moving to Drupal 11.3+ first keeps two mandatory upgrades manageable.

Illustrated infographic summarizing: EU OpenAI Residency Is a Migration Project, Not a Dashboard Toggle
EU OpenAI Residency Is a Migration Project, Not a Dashboard Toggle
2026-08-05

An EU-resident OpenAI API setup needs a new project, regional routing, dependency and state migration, compatibility testing, and clear governance evidence.

Illustrated infographic summarizing: AI Images Need a Chain of Custody, Not Just a Disclosure Label
AI Images Need a Chain of Custody, Not Just a Disclosure Label
2026-08-04

AI image labels are only the endpoint. Learn how to test C2PA credentials through editing, CMS, CDN and agency handoffs while preserving evidence.

Illustrated infographic summarizing: MCP Just Went Stateless: Audit the Integrations Behind Your AI Tools
MCP Just Went Stateless: Audit the Integrations Behind Your AI Tools
2026-08-03

The 28 July 2026 MCP release removes protocol sessions and changes discovery, tasks, caching, OAuth and tracing. A practical guide to auditing the move.

Illustrated infographic summarizing: SEO Trends for 2026: What Actually Changed Since 2024
SEO Trends for 2026: What Actually Changed Since 2024
2026-08-03

A practical guide to what changed in SEO between 2024 and 2026, from AI and multimodal search to Core Web Vitals, privacy and local visibility.

Illustrated infographic summarizing: INP and Green SEO Share a Backlog: Cut the Work Every Visit Repeats
INP and Green SEO Share a Backlog: Cut the Work Every Visit Repeats
2026-08-03

INP and sustainable web work often expose the same waste. Use field data, profiling, caching and performance budgets to build one practical backlog.

Illustrated infographic summarizing: AI crawler policy now has verbs: separate search, RAG, and training
AI crawler policy now has verbs: separate search, RAG, and training
2026-08-02

AI crawler rules now need separate decisions for search, RAG, and training, backed by practical testing across robots.txt, CDNs, WAFs, and CMS controls.

Illustrated infographic summarizing: WordPress Supports Old PHP; Your Production Server Shouldn’t
WordPress Supports Old PHP; Your Production Server Shouldn’t
2026-08-01

WordPress still runs on legacy PHP, but compatibility is not a security policy. Build and test your upgrade path before PHP 8.2 support ends.

Illustrated infographic summarizing: The AI-built tool your team relies on needs an owner
The AI-built tool your team relies on needs an owner
2026-07-31

AI-built internal tools can become business-critical before anyone owns them. Here is how to secure, review, monitor, and retire them without blocking useful work.

More articles
RSS feed

Footer

  • All articles
  • Contact

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.