[opencms-dev] URL fingerprinting

Paul-Inge Flakstad flakstad at npolar.no
Fri Apr 11 16:23:48 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140411/7262baea/attachment.htm>


More information about the opencms-dev mailing list