We are using Apache as our Web server for our CRM application (Siebel) . We continuosly deploy new JS and CSS files on the CRM application in 15 days Currently we have the following setting.
FileETag None ExpiresActive On ExpiresByType text/css "access plus 5 days" ExpiresByType text/javascript "access plus 5 days" ExpiresByType image/gif "access plus 5 days" ExpiresByType image/jpg "access plus 5 days" ExpiresByType image/png "access plus 5 days" ExpiresByType application/x-shockwave-flash "access plus 5 days" ExpiresByType application/x-javascript "access plus 5 days" AddType image/x-icon .ico ExpiresByType image/x-icon "access plus 5 days"
In this case if we have a Hotfix release we have to ask the end users to clear their cache so that the new files can be reflected from their side else they have to wait till the objects expire and are auto refreshed.
If we set it to a lower value than the requests to the web server increase and the load increases on web server.
I would like to know is there any mechanism.
1) To auto update the new files on end user machine automatically when a new file is placed .
2) To set expiration of folder level rather than a file level.
Thanks
Aucun commentaire:
Enregistrer un commentaire