<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lakum Jay</title>
    <description>The latest articles on DEV Community by Lakum Jay (@lakum_jay).</description>
    <link>https://dev.to/lakum_jay</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4210390%2F7ab4582b-3f22-4a7b-8bab-e6c5f479638c.png</url>
      <title>DEV Community: Lakum Jay</title>
      <link>https://dev.to/lakum_jay</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lakum_jay"/>
    <language>en</language>
    <item>
      <title>How to Clean Orphaned Liquid Code After Uninstalling Shopify Apps (And Shave 1.5s off Mobile LCP)</title>
      <dc:creator>Lakum Jay</dc:creator>
      <pubDate>Tue, 27 Oct 2026 09:09:19 +0000</pubDate>
      <link>https://dev.to/lakum_jay/how-to-clean-orphaned-liquid-code-after-uninstalling-shopify-apps-and-shave-15s-off-mobile-lcp-2mj8</link>
      <guid>https://dev.to/lakum_jay/how-to-clean-orphaned-liquid-code-after-uninstalling-shopify-apps-and-shave-15s-off-mobile-lcp-2mj8</guid>
      <description>&lt;p&gt;When a store owner uninstalls an app from Shopify, the app's dashboard disappears, but its injected JavaScript and Liquid code often remains trapped inside &lt;code&gt;theme.liquid&lt;/code&gt; and the &lt;code&gt;snippets/&lt;/code&gt; directory.&lt;/p&gt;

&lt;p&gt;These leftover scripts (ghost code) still execute on every single page load, creating render-blocking requests and slowing down Largest Contentful Paint (LCP) by 1 to 2 seconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  The 4-Step Cleanup Routine:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Audit &lt;code&gt;theme.liquid&lt;/code&gt; Header:&lt;/strong&gt; Search for unused vendor asset URLs, tag manager containers, or old tracking pixels from uninstalled apps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inspect the &lt;code&gt;snippets/&lt;/code&gt; Directory:&lt;/strong&gt; Look for snippet files matching the uninstalled app vendor name (e.g., &lt;code&gt;app-reviews.liquid&lt;/code&gt;, &lt;code&gt;currency-converter.liquid&lt;/code&gt;) and remove the corresponding &lt;code&gt;{% render %}&lt;/code&gt; tags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check for Injected Script Tags via API:&lt;/strong&gt; Use the Shopify Admin API or Chrome DevTools Network tab to check for unattached remote script tags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Benchmark on Staging:&lt;/strong&gt; Always verify Core Web Vitals before and after removing ghost code using Google PageSpeed Insights.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;em&gt;For a complete breakdown of mobile checkout speed and Shopify theme optimization, visit my portfolio at &lt;a href="https://jaylakum.com/" rel="noopener noreferrer"&gt;Jay Lakum — Freelance Webshop Developer&lt;/a&gt; or read my Dutch webshop speed guides on &lt;a href="https://jaylakum.com/nl/" rel="noopener noreferrer"&gt;jaylakum.com/nl/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>webperf</category>
      <category>javascript</category>
      <category>ecommerce</category>
    </item>
  </channel>
</rss>
