Deletion of a plugin that provides front end assets causes 404s




Wordpress LScache Plugin: Deletion of a plugin that provides front end assets causes 404s

Last Updated on: Wed, 15 Apr 2026 00:00:02
If you have a plugin that provides front end assets, e.g. google-analytics-for-wordpress/assets/js/frontend.min.js When that plugin is uninstalled and deleted the asset is no longer available and hence creates a 404 for that assets until the cache is cleared Should the action on deleting plugin auto clear the cache? Hi @fullworks, normally our plugin will not serve the cached version after you disabled the plugin from WordPress admin panel. Also, our minified JS/CSS will be removed on HTML. May I know you still find the comment on the HTML source after you deactivate the plugin? Ill have to regenerate the situation ? as it was live and I have cleared cache since I have tested this an unfortunately the page doesnt get regenerated on deactivate or delete ? only on install it appears Plugin Monster Google Analytics Dashboard Installed plugin Script there Deactivate in dashboard Script there ( and found ) Delete in dashboard Script still there on page ( but doesnt exist )



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference