
dse at webonastick
Dec 2, 2011, 12:26 PM
Views: 1464
Permalink
|
|
Re: Use with Amazon CloudFront CDN (for images, PDFs, etc.)
[In reply to]
|
|
On Fri, Dec 2, 2011 at 12:05, David E. Wheeler <david [at] justatheory> wrote: >> The filename is appended outside of the _construct_uri function that >> does all the %{...} replacements. >> >> Any insight as to why this is the case? Looks like I'll have to do >> quite a bit of hacking and I don't want to break anything. > > Well, it's a file name. > > What if you use %{publish_date}? That should change every time it's > published (as opposed to %{first_publish_date} and %{cover_date}). Not terribly fond of creating a new directory every time I publish something. What I had in mind was something like this: /images/%{categories}/filename-%{version}.jpg
|