Hi,

On 10 November 2017 at 13:25, Carsten Ziegeler <[email protected]> wrote:

> Right, that should work. The idea of the javascript with generating the
> date is not a cache killer but it's to ensure that the filename you get
> when saving the file has the date/time of when the zip was created.
>


Could use headers ?
Content Disposition[1] could set the filename on download and cache
headers[2] should stop caching.
Would that work ?
I can open an issue and fix if there are no objections.

The reason I ask is.... if you can give a support person a URL to download
its easier to persuade them to do it than go and click a button in a
browser.
They might even automate it ;)

Best Regards
Ian

1
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
2 Cache-Control: no-cache, no-store, must-revalidate


>
> Carsten
>
>
> Bertrand Delacretaz wrote
> > Hi Ian,
> >
> > On Fri, Nov 10, 2017 at 1:44 PM, Ian Boston <[email protected]> wrote:
> >> ...AFAICT at the moment the url is buried under a javascript button
> which
> >> builds
> >> http://localhost:8080/system/console/status-configuration/
> configuration-status-
> >> <date>.zip ...
> >
> > IIRC the date is just used as a cache killer so using 0000 might work,
> > in order to have a stable URL?
> >
> > -Bertrand
> >
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> [email protected]
>

Reply via email to