Urgent.News

What's breaking now, across thousands of outlets.

Continued

Tech

Refactoring the views system in YOUR gift!

In the past, link views were cached in Redis. After 10 seconds , all the views were flushed using a manual loop. The old flow looked like this: Loop through every key (ID).

  • Refactored views system replaces manual loop with bulkWrite operations
  • Eliminates N+1 problem and prevents view duplication
  • Ordered: false ensures operations continue even if one fails

Tech

TTFB Won't Go Down? Server-Side Culprits Beyond the Theme

You moved the site behind a CDN, trimmed the theme, deferred scripts, and ran a caching plugin. PageSpeed Insights still flags a high Time to First Byte on the homepage, and the waterfall shows most…

  • Disable request-driven WordPress Cron, use system cron instead
  • Schedule long jobs during off-peak hours in site's traffic timezone
  • Increase OPcache memory size, adjust pm.maxchildren parameter

Tech

The Cop Who Took On Flock

After Noel Pichardo called out his city's embrace of Flock surveillance cameras, he was subjected to five internal affairs investigations in less than two years.

Continue reading →