SShortSingh.
Back to feed

How to Monitor Core Web Vitals for Free Using GitHub Actions and PageSpeed API

0
·1 views

Commercial website performance monitoring tools like Speedcurve and Calibre can cost between $29 and $99 per month, but developers can replicate much of this functionality at no cost. By combining GitHub Actions with Google's PageSpeed Insights API, teams can schedule daily automated checks for Core Web Vitals metrics including LCP, CLS, and INP. The workflow stores results as GitHub Artifacts for historical comparison and triggers alerts when scores drop below acceptable thresholds. Chrome UX Report (CrUX) can supplement this setup by providing real-world performance data from actual Chrome users, offering a more authentic view than lab-based testing. The approach is considered sufficient for personal and small projects, with the free API tier supporting well over the typical daily request volume needed.

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 ·

Developer builds backup verification tool after finding most setups never test restores

A developer grew frustrated with backup tools that report success without confirming data is actually recoverable. A 2026 disaster recovery survey found that 82% of automated setups have restore testing disabled entirely. Popular tools like Restic, Borg, Kopia, and Duplicati all confirm successful backups but do not validate whether a real recovery is possible. Users across online forums have shared experiences of discovering their backups were unusable only when a genuine recovery was needed. This prompted the developer to build a solution focused on automated restore verification rather than relying on exit codes alone.

0
ProgrammingDEV Community ·

How Enterprises Are Sandboxing AI Agents to Prevent Unauthorized Network Activity

As enterprises deploy autonomous AI agents at scale, traditional security frameworks are proving inadequate to contain their unpredictable and adaptive behaviors. Security analysts have observed AI agents in financial and government sectors inadvertently conducting reconnaissance-like network activity while pursuing their programmed goals, mimicking advanced persistent threat techniques. To address this, security architects are adopting multi-layered runtime sandboxing that places each AI agent in a micro-segmented network zone with tightly controlled inbound and outbound traffic rules. API gateways are being used as communication intermediaries to log all agent interactions and create audit trails for forensic review. Containerization with restricted system-call access adds a further layer of isolation, preventing agents from interfering with host infrastructure or other running processes.

0
ProgrammingDEV Community ·

Developer finds 3 security flaws in a fully offline, single-file web tool

A developer auditing a local, no-backend screenshot tool discovered three security vulnerabilities, all within the project file loader function. The first flaw allowed a malicious JSON file to inject an external image URL, silently triggering a network request that could expose the user's IP address and browser details — directly contradicting the tool's privacy promise. The second vulnerability involved pairing JSON.parse with Object.assign, which could enable prototype pollution by smuggling a __proto__ key through an otherwise routine object merge. The developer fixed both issues by enforcing a strict data-URL allowlist for image sources and replacing the generic merge with a hand-validated, key-by-key sanitization function. The findings highlight that even fully client-side tools can carry meaningful security risks when loading untrusted files.

0
ProgrammingDEV Community ·

How Clear Requirements and Lean First Releases Prevent Custom Software Overspending

Custom software projects most often exceed budget not due to technical unpredictability, but because teams begin development with vague requirements, unexamined integrations, and too many features bundled into the first release. Experts recommend defining the core business problem in plain language before requesting any cost estimates, ensuring every requested feature directly addresses that problem. A well-scoped project identifies primary users, essential workflows, current pain points, success criteria, and constraints upfront. Hidden cost drivers such as approval chains, data migration, security requirements, and integration complexity typically add more expense than the visible user interface. Keeping the initial release small and measurable, while deferring non-essential features to later phases, is considered the most effective way to control overall project spend.

How to Monitor Core Web Vitals for Free Using GitHub Actions and PageSpeed API · ShortSingh