<?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: BmPdDNbK</title>
    <description>The latest articles on DEV Community by BmPdDNbK (@bmpddnbk).</description>
    <link>https://dev.to/bmpddnbk</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3975025%2Ff997e44a-3c29-4e26-b61a-a71ceb732b35.png</url>
      <title>DEV Community: BmPdDNbK</title>
      <link>https://dev.to/bmpddnbk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bmpddnbk"/>
    <language>en</language>
    <item>
      <title>A crude workaround for fixing stale static asset caching</title>
      <dc:creator>BmPdDNbK</dc:creator>
      <pubDate>Tue, 09 Jun 2026 02:07:01 +0000</pubDate>
      <link>https://dev.to/bmpddnbk/a-crude-workaround-for-fixing-stale-static-asset-caching-3j0h</link>
      <guid>https://dev.to/bmpddnbk/a-crude-workaround-for-fixing-stale-static-asset-caching-3j0h</guid>
      <description>&lt;p&gt;A while back, I used Nginx reverse proxy caching for static files, and found that after deployment, clients were still pulling old files. Later, I used a pretty crude but effective workaround: add a custom query fingerprint to the asset path and change it on every build.&lt;br&gt;
I added a line in the CI step to generate a fingerprint, and used this value directly:&lt;br&gt;
BUILD_FINGERPRINT=nJ4KUcQ7r621TfaZ3QROayoHHDJdV8Jw&lt;br&gt;
Then I used this variable to replace asset_version in the Nginx config (details omitted). On the frontend side, I also changed it to:&lt;/p&gt;

&lt;p&gt;That completely broke the cache, and even CDN edge nodes would refresh properly.&lt;/p&gt;

</description>
      <category>cicd</category>
      <category>devops</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
