InfoBilisim Query Strings Remover

描述

This plugin automatically cleans up version parameters (like ?ver=, ?v=) from your static resources (CSS and JavaScript files). This helps resolve the “Remove query strings from static resources” warning found in GTMetrix, Pingdom, and Google PageSpeed Insights, significantly improving your website’s caching capabilities.

Key Features:

  • High Performance: Uses static caching and O(1) complexity lookup algorithm.
  • Smart Filtering: Automatically excludes critical resources like CDNs and Google Fonts to prevent breakage.
  • Developer Friendly: Includes hooks like rqs_excluded_handles for custom exclusions.
  • Safe: No database changes, works entirely on the frontend.

屏幕截图

  • Before activation: Source code with version parameters.
  • After activation: Clean source code.

安装

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. No configuration needed! It works immediately upon activation.

常见问题

Which files are affected?

It removes query strings from all CSS (.css) and JavaScript (.js) files on the frontend.

Can I exclude specific scripts?

Yes. Developers can use the rqs_excluded_handles filter to exclude specific script handles.

评价

此插件暂无评价。

贡献者及开发者

「InfoBilisim Query Strings Remover」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3.2

  • Initial release.
  • Added support for PHP 8.x.
  • Added memory leak protection.