plugin-icon

Attachment URL Version

By ott·
Adds the version number of attachments to their URL.
Version
1.0.4
Last updated
Jan 8, 2023

By default, attachments do not have a version query parameter, like, for example JavaScript files have. This plugins adds version numbers to the query strings of attachments.

Version numbers in query strings are useful for caching. If an attachment changes, its version number and, therefore, its URL changes. This allows for the attachment to be cached for an extended period of time or indefintely, for example, with the directive “immutable” of the Cache-Control header.

Freeon paid plans
Tested up to
WordPress 6.1.11
This plugin is available for download for your site.