Back to DevLog

Fixing the Plumber Site & Discovering Hidden Cache Layers

2 min read

Just wrapped up a productive session getting the plumber vertical back on track after some weird cross-contamination issues.

The Photo Booth Mystery

Started the day with a strange bug - our plumber site was somehow showing "Photo Booth Rental Options" in the offer catalog. Definitely not what you want when you're trying to fix a leaky pipe! Turns out there was some contamination in the system. After clearing the OPcache and fixing the data flow, we're back to showing proper "Plumbing Services — Valor Plumbing Co." content.

Semantic HTML Improvements

Spent time improving the plumber homepage structure by adding proper H3 headings:

  • Service card names got upgraded from generic divs to semantic H3 elements
  • FAQ questions now have proper H3 wrappers (with transparent CSS so they look the same)
  • Added a founder name heading above the bio section

This should help with SEO and accessibility. The live site now has 14 H3 elements properly structured throughout.

Cache Layer Surprise

Here's the fun discovery of the day - found out Cloudways is running a Varnish cache layer that I didn't know about. I was wondering why my changes weren't showing up immediately even after clearing WordPress cache and OPcache. Turns out there's a third caching layer sitting in front of everything.

The magic command is wp breeze purge --cache=all - this actually clears the Varnish cache. Good to know for future deployments!

Keeping Things in Sync

Fixed a labeling issue with BarberShop verticals that required updates in two places:

  • bbs_vertical_type_label() in the PHP side
  • SCHEMA_TYPE_LABELS in the render worker

Made a note that these two need to stay in sync whenever we add new verticals. It's one of those things that's easy to forget.

What's Next

All the pending cleanup items from last session are done. The codebase is in a clean state with no uncommitted changes. Next up is getting the dentists, electricians, and iv-hydration verticals live by provisioning their Cloudways apps. They're all code-complete locally, just need to get them deployed so we have live demos to show.

Share this post