Home Plugins attachment url version
Attachment URL Version logo

Attachment URL Version

by ott on WordPress.org

Adds the version number of attachments to their URL.

(0)

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.

Active installations0+
Weekly downloads
8-20.00%
Version1.0.4
Last updated1/8/2023
WordPress version4.6
Tested up to6.1.7
PHP version7.4
Tags
attachmentcache