A plugin for @11ty/eleventy to add hashes to used resources
If you’re working with Eleventy and looking to enhance your site’s performance, the @mightyplow/eleventy-plugin-cache-buster is a game-changer. This plugin allows you to add unique query parameters to your CSS and JavaScript resources, ensuring that users always receive the most up-to-date files. With its caching capabilities, you can optimize resource delivery and provide a seamless browsing experience.
Setting up the plugin is straightforward, and it offers a range of customizable options that can cater to various project needs. Whether you’re a seasoned developer or just getting started with Eleventy, this tool simplifies cache management and boosts your site’s efficiency.
href for links and src for scripts) will use the cache-busting feature, accommodating different project needs.Overall, the @mightyplow/eleventy-plugin-cache-buster significantly improves the handling of cached resources, enabling you to focus on building content without worrying about stale assets.