Skip to content

Dan Q

    • Articles
    • Everything
    • Notes
    • Reposts (shares)
    • Checkins (geo*)
    • Videos
    • Reviews
    • Comics
    • Tags
    • Stats
    • Subscribe
    • Blogroll
  • About
    • Semi-standard "slash pages" you might like to explore:
    • /about
    • /blank
    • /blogroll
    • /colophon
    • /contact
    • /cv
    • /license
    • /postcards
    • /privacy
    • /salary
    • /shh
    • /slashes
    • /stats
    • /subscribe
    • /where
    • Hide posts of type:
    • Choose how Dan's dressed:
    • Hair
    • T-Shirt
  • Contact
  • Podcast

Tag: performance

  • Here's a neat trick. I've got a web page with many HTML popovers, styled as modals to create a no-JS gallery/lightbox. But LCP suffers because the browser tries to reserve space for the images within (even though they're within not-yet-shown popovers).

    This CSS one-liner saved the day. It basically says "skip over not-yet open popovers on initial page render" -

    [popover]:not(:popover-open) {
      content-visibility: hidden;
    }

    I appreciate that Lighthouse isn't the last word in performance metrics, of course. But this change alone bumped an affected page's score from 76 to 100, so it's not nothing either!

    • Note
    • posted 25 September, 2026
  • Integration contemplation

    What fragments you?
    What defragments you?
    How are you balancing both?

    Read more - about 3 minutes (522 words)

    • Repost
    • of this original
    • 1 comment
    • posted 11 February, 2026
  • One the left, how you see your code. On the right, the reality - a mixture of library code and what you wrote

    It Is A War Out There - Take Control of Your Supply Lines with HtDTY

    Andrew Stephens reminds us to HtDTY (Host the Damn Thing Yourself) to reduce the risk of supply chain attacks and improve privacy. But I think the argument goes further than this.

    Read more - about 3 minutes (527 words)

    • Repost
    • of this original
    • posted 15 October, 2025
  • Generative AI use and human agency

    Joanna Bryson's put together an absolutely fantastic list of considerations about the use of AI, and two of her points do a better job than I did at saying what I was trying to, last week.

    Read more - about 5 minutes (1020 words)

    • Repost
    • of this original
    • 1 comment
    • posted 24 February, 2025
  • Graph showing danq.me, at 234kb, just above gomakethings.com in the 512kb league table.

    Home Page, 50% Off!

    By optimising a few bits of my homepage I've halved its size, which incidentally takes me up from the third to the second league of 512kb club members!

    Read more (374 words)

    • Article
    • 1 comment
    • posted 22 March, 2024
  • Screenshot showing a "perfect" Lighthouse score for danq.me, with the corner peeled-back to show fragments of WordPress PHP code behind.

    Making WordPress Fast (The Hard Way)

    Lots of guides explain how to improve WordPress performance easily. This guide is different. I'd like to share the hard ways in which you might squeeze even more speed out of your WordPress site.

    Read more - about 17 minutes (3993 words)

    • Article
    • 1 comment
    • posted 4 November, 2023
  • 512kb.club

    Proud to say that danq.me is the newest site to be admitted into Kev Quirk's 512kb club. Let's keep the web lean!

    Read more (23 words)

    • Note
    • posted 2 August, 2023
  • The Web Pyramid. In the style of a "food pyramid", shows Text Worth Reading at the bottom, supporting Markup, supporting Images, supporting CSS, supporting (a small amount of) Scripts.

    Loading CSS Asynchronously Without JS Dependency

    Dan proposes a new technique for lazy-loading CSS which doesn't break style for non-JS users.

    Read more - about 3 minutes (665 words)

    • Article
    • 22 comments
    • posted 9 August, 2020
  • Visitors, Developers, or Machines

    Dan comments on Garrett Dimon's thoughts about performance bottlenecks being moved, not removed, by the adoption of client-side web frameworks.

    Read more (280 words)

    • Repost
    • 1 comment
    • posted 5 May, 2020
  • JavaScript frameworks are better for accessibility (and other myths)

    Chris Ferdinandi counters a Twitter user's argument that web frameworks solve a plethora of common web development challenges, and he's right.

    Read more (298 words)

    • Repost
    • 1 comment
    • posted 18 July, 2019
  • Google AMP lowered our page speed, and there's no choice but to use it - unlike kinds

    ...

    We here at unlike kinds decided that we had to implement Google AMP. We have to be in the Top Stories section because otherwise we’re punted down the page and away from potential readers. We didn’t really want to; our site is already fast because we made it fast, largely with a combination of clever …

    Read more (179 words)

    • Repost
    • posted 13 April, 2019
  • Fewer and Faster // John Nunemaker

    Sometimes I feel developers think that performance is a dark art. It is not. In my experience, well performing systems come down to this: fewer and faster. If you are doing something a lot, do it fewer times. If you are doing something that is slow, make it faster. It really is that simple. The …

    Read more (76 words)

    • Repost
    • posted 9 June, 2016

Get in Touch

I'd love to hear from you! Why not...

  • email me on blog@danq.me?
    (my spam filter is aggressive, so use a good subject line, i.e. not just "hello"; encrypt your email if you like)
  • say hi on Mastodon, where I'm @dan@danq.me?
  • send a letter or postcard to
    Dan Q, Unit 159610, PO Box 7169, Poole, BH15 9EL, UK
  • reach out some other way?
  • Β© Dan Q 1998-2026
  • Creative CommonsAttributionNon-Commercial except where stated (how to use)
  • powered by BloqClassicPressHTML5CSS3
  • privacy
  • Read articles, checkins, notes, reposts, and more...
  • @dan@danq.me
  • contact
  • subscribe
  • Dan Q
  • Creative Commons Attribution Non-Commercial license
  • ClassicPress
  • CSS is awesome
  • Created by a human, not by AI
  • LGBTQ+ pride flag (2018 progress variant)
  • Polyamory flag
  • Say no to Web3
  • Mastodon (it's like email... no, come back!)
  • Tested on Firefox
  • Best viewed on the Internet
  • PHP
  • Ruby
  • Debian
  • Caddy (webserver)
  • Find me on Melonland
  • Check out my GitHub
  • Three Rings - by volunteers, for volunteers, since 2002
  • I'm a fucking webmaster
  • Looks best at: any resolution!