You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Default file download template" shows the uploaded filename and size badge embedded within the post which looks great, but it requires that the file be proxy downloaded through PHP so that statistics gathering and hotlink protection can be used. However, if using a CDN URL (like from AWS CloudFront) and hotlink and statistics gathering are disabled, this behavior would be undesirable since the CDN would provide more efficient file downloading capabilities. The "Just URL" template would work fine as it uses the CDN URL, but inserting the plain URL doesn't look as aesthetically pleasing as the filename and size badge embedded within the post. I'm proposing one of the following:
When using the "Default file download template", hotlink and statistics gathering are disabled, and a CDN URL is provided, use the CDN URL to download the file, otherwise proxy download the file through PHP.
Add another download template called "CDN file download template" that behaves the exact same way as "Default file download template", but uses the approach that the "Complete image preview template" uses, that is, no statistics are gathered and hotlink protection is ignored, and the CDN URL is used to download the file.
The text was updated successfully, but these errors were encountered:
The "Default file download template" shows the uploaded filename and size badge embedded within the post which looks great, but it requires that the file be proxy downloaded through PHP so that statistics gathering and hotlink protection can be used. However, if using a CDN URL (like from AWS CloudFront) and hotlink and statistics gathering are disabled, this behavior would be undesirable since the CDN would provide more efficient file downloading capabilities. The "Just URL" template would work fine as it uses the CDN URL, but inserting the plain URL doesn't look as aesthetically pleasing as the filename and size badge embedded within the post. I'm proposing one of the following:
The text was updated successfully, but these errors were encountered: