SShortSingh.
Back to feed

Eight-Year-Old WooCommerce Site Had 12,000 Orphaned WebP Files Slowing It Down

0
·5 views

A developer auditing a WooCommerce-LearnDash site found 12,301 WebP sidecar files left behind by a previously uninstalled image optimizer plugin, consuming 241MB of storage and burdening backups and malware scans. The files, generated by EWWW Image Optimizer, were completely unreferenced and served no purpose once the plugin was removed. A separate audit revealed that a plugin called disable-thumbnails-and-threshold had silently stripped 14 registered image sizes at runtime, meaning WooCommerce product thumbnails were never actually generated on disk. Rather than proceeding with a new WebP conversion tool, the developer resolved these deeper structural issues first, noting that installing another optimizer would have compounded the existing problems. The case highlights the importance of auditing inherited WordPress sites for orphaned files and misconfigured plugins before adding new optimization layers.

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 One AI Coding Agent Kept Failing — and the Code Written to Fix It

Software firm Univoco built a retrieval-augmented AI coding agent for a proprietary document layout engine that has no public internet presence, forcing the agent to rely entirely on a private documentation index. Because the engine is absent from the model's training data, the setup offered a rare opportunity to observe pure problem-solving behaviour — and its failures. The agent repeatedly made unexpected errors, such as failing to locate an existing file by searching its contents rather than its filename, or deleting one line of code while leaving related configuration lines intact. Engineers at Univoco documented each failure in the order it occurred and published the specific code fixes applied to resolve them. The post details nine distinct failure modes, covering issues ranging from literal search limitations and infinite search loops to the agent inventing APIs that did not exist.

0
ProgrammingDEV Community ·

How Elden Ring's Stat System Teaches Developers to Build Smarter RPG Tools

RPG build systems like those in Elden Ring are far more complex than they appear, involving non-linear stat scaling, multi-attribute weapon dependencies, and diminishing returns beyond soft caps. Developers face the challenge of modeling these layered relationships accurately rather than relying on hardcoded values. A well-designed build calculator separates static weapon data from calculation logic, making the system easier to balance and maintain. Soft caps — points where additional stat investment yields shrinking returns — are critical to surface for players, helping them allocate attributes more efficiently. Ultimately, a calculator must go beyond mathematical correctness and present insights in plain language, guiding players toward informed decisions rather than overwhelming them with raw numbers.

0
ProgrammingDEV Community ·

Google DeepMind Has Not Announced Gemini Robotics 2, Clarification Warns

No first-party documentation from Google DeepMind confirms the existence of a product called Gemini Robotics 2. The company has publicly released materials covering Gemini Robotics 1.5, Gemini Robotics-ER 1.6, and On-Device variants, but no verified successor under that name. Confusion may stem from the similarly numbered Gemini 2.5 document, which is unrelated to the robotics product line. Enterprise teams are cautioned against including unverified product names in roadmaps, procurement records, or safety reviews. Analysts stress that accurate product identification is critical at every stage of robotics AI evaluation and deployment planning.

0
ProgrammingDEV Community ·

Why Mixing Data Pipelines With Warehouses Inflates Costs and Complexity

Many data teams have inadvertently turned their data warehouses into integration tools by routing data movement and transformation workloads through them, a task warehouses were never designed to handle. Over the past decade, advances like stored procedures, dbt, and SQL-based orchestration gradually shifted pipeline responsibilities onto warehouse infrastructure. This misuse drives up compute costs significantly, since warehouse pricing suits bursty analytical queries rather than continuous, high-volume data movement jobs. When failures occur in this blended setup, diagnosing the root cause becomes time-consuming because errors can originate across multiple intertwined layers. Experts argue that separating data movement and processing from analytical storage would improve reliability, reduce costs, and make architectures easier to maintain and debug.