SShortSingh.
Back to feed

Developer Builds Cloudflare Cache-Purging Integration for Umbraco Automate

0
·1 views

A developer working on multiple Umbraco projects built a Cloudflare cache-purging integration using Umbraco Automate, replacing traditional code-based notification handlers with reusable automation actions. The project resulted in three NuGet packages — Umbraco.Community.Automate, Umbraco.Community.Automate.Extensions, and Umbraco.Community.Automate.Cloudflare — all released as version 17.0.0 for Umbraco 17. A key design challenge was that Umbraco's Content Published trigger exposes content metadata but not URLs, which is especially complex for multilingual sites with multiple hostnames. To keep concerns separated, URL resolution was placed in a generic 'Get Published Content URLs' action within the Extensions package, while Cloudflare-specific logic was isolated in its own package. The resulting workflow chains four discrete automation steps: Content Published, For Each Culture, Get Published Content URLs, and Purge Cloudflare.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Video Streaming Pipelines Work: A System Design Breakdown

A technical explainer on DEV Community walks through the system design behind video streaming, from upload to playback. The piece frames the problem using a relatable scenario: sending a large skydiving video to a friend across the world. It outlines functional requirements for both uploaders and viewers, including resumable uploads, progress tracking, and smooth cross-network playback. The article also highlights non-functional challenges such as handling massive files, connection drops mid-upload, and sudden spikes in concurrent viewers. It argues that naive single-request upload approaches fail at scale, setting the stage for more robust pipeline architectures.

0
ProgrammingDEV Community ·

Google Identifies Three Russian Spy Groups Hijacking Auth Flows, Bypassing MFA

Google Threat Intelligence Group published research on August 20, 2026, detailing three suspected Russian espionage clusters — UNC6293, UNC7005, and UNC5976 — that exploit authentication flows rather than stealing passwords directly. The groups target academics, government officials, aerospace and defense personnel, and think tank staff across Europe, Ukraine, and the United States. Their methods include abusing OAuth consent flows, application-specific passwords, device code grants, and WhatsApp device linking, meaning fully deployed multi-factor authentication does not stop the attacks. UNC5976, active since at least March 2026, automated OAuth token harvesting using legitimate cloud infrastructure, redirecting victims through real Google login pages before silently stealing tokens post-authentication. Google disrupted at least 12 related domains, but UNC5976 adapted by migrating its phishing infrastructure to other providers and also deployed a malicious Excel plugin called HEADRUSH targeting Ukrainian organizations.

0
ProgrammingDEV Community ·

Developer's AI bot outperformed GPT-4 rivals, but a dedup bug silently erased training weights

A developer built a capture-the-flag arena where language models compete against each other, using game replays to fine-tune a local Qwen2.5-3B model with MLX LoRA adapters. The custom bot outperformed five larger cloud models on offense, capturing 400 flags across 221 games compared to 275 for the next-best GPT-OSS 120B model. However, the bot's defensive performance remained weak, prompting multiple retraining attempts that all appeared to fail. The root cause was a silent bug: a deduplication step in the data pipeline discarded all repeated examples, completely canceling out the intentional curriculum weighting that relied on repetition for emphasis. As a result, 41.5% of the weighted training corpus — roughly 39,000 lines — was silently dropped before the trainer ever saw the data.

0
ProgrammingDEV Community ·

How Fancy Text Generators Use Unicode Characters Instead of Custom Fonts

Fancy text generators typically work by replacing standard characters with visually similar Unicode equivalents rather than applying custom fonts, which is why styled text can be copied and pasted across platforms. Unicode is a universal standard covering far more than the English alphabet, including mathematical alphanumeric symbols that closely resemble bold or cursive letters. In JavaScript, developers can build text transformation tools by mapping ordinary characters to their Unicode counterparts, using spread syntax or Array.from() to correctly handle multi-unit code points. A basic generator loops through user input, looks up each character in a style mapping, and returns the Unicode equivalent or the original character if no match exists. For more complex cases involving emoji or combining marks, developers may need to work with grapheme clusters rather than individual code points.