cancel
Showing results for 
Search instead for 
Did you mean: 

Expiry Date in HTTP Headers

drozes
Champ in-the-making
Champ in-the-making
Hello Fellow Alfresians.

My company is currently using Alfresco to test our internal webpages.  We are trying to set the expiry date on static assets (images, js, css) that our Quickstart application is sending the browser.

I'm currently trying to debug and follower the trace - but no luck so far.

If anyone knows where to look - would greatly appreciate it!
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
From where you want to set the expiry date?
It will be more easy to understand if you can elaborate more.

drozes
Champ in-the-making
Champ in-the-making
Thanks for the reply Mits.

For the end result I would have a value in my wcmqs-api.properties which indicates the how many seconds to add to the expiration date on any assets sent to a browser.

I would image that value would need to be applied inside some Java class which handles the headers of assets which are being requested from the quickstart Application.  Unless Spring has a configuration which takes care of this already.

This scenario only needs to happen on Images and assets with the Template 'RAW'.


Sorry if this is still not enough information, let me know please.