e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Feature request]: A method to find the static URLs associated with an asset link #5191

Closed CaMer0n closed 4 months ago

CaMer0n commented 4 months ago

Motivation

When using an array of static URLs, it is difficult to 'preload' assets, as the static URL is automatically rotated from the array.

Proposed Solution

Store the generated static URLs in an array that can be looked up with a key, and then loaded into e107::link() to preload the asset.

Alternatives

none

Additional Context

No response