[opencms-dev] URL fingerprinting

Stephan Schrader zstephanz at gmail.com
Mon Apr 14 09:37:47 CEST 2014


Hey,

we used to simply override the Link-Tag and append the date modified as
query parameter. This way opencms will generate an unique URL for every
published version.

But this would be a nice feature to have in general ;)

Stephan


2014-04-11 16:23 GMT+02:00 Paul-Inge Flakstad <flakstad at npolar.no>:

> Hi,
>
>
>
> Has anyone considered URL fingerprinting in OpenCms?
>
>
>
> I'm Curious because I'm thinking about modifying the export/link handler
> (?) to manage this. Since it's already doing some modification to the URLs,
> it should be possible to extend that some more - right ..?
>
>
>
> What I have in mind is adding the fingerprint when exporting (similarly to
> how /opencms/export/ is injected).
>
>
>
> E.g. if the VFS resource's offline URL is
>
> /static/my.css
>
> the online URL would become
>
> /opencms/export/static/my-32819023810832091.css
>
> when requested online.
>
>
>
> Same for images, javascript and whatnot.
>
>
>
> With fingerprinting in place, one could set the appropriate headers in
> Apache (or whatever's in front) and ta-daaaa pages would load (possibly a
> lot) faster, because many resources would be cached client-side.
>
>
>
> Would sure like to hear your thoughts on this, if you have any.
>
>
>
> (Don't know about URL fingerprinting? Then you should read this:
> https://developers.google.com/speed/docs/insights/LeverageBrowserCaching)
>
>
>
> Cheers,
>
> Paul
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140414/0f2f5b81/attachment.htm>


More information about the opencms-dev mailing list