Attachment URL Version

Created by: Matthias-Christian Ott

Rating:
Downloaded: 1k times

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.

Screenshots

    Categories

    Get New Themes & Resources