Luca Morandini pisze: > Grzegorz Kossakowski wrote: >> >> I try to evangelize usage patterns of SSF obstinately but still I see >> there is a plenty of room for >> improvement of my actions. ;-) >> What I want to say: use servlet: protocol + LinkRewritingTransformer >> and forget about path issues! > > Are you suggesting to put static resources in a block and use something > like servlet:static:/logo.gif to access them ?
Yep. People advise to use httpd for serving static resources but I would give other type of advice: package your static resources with your block, configure pipelines so they are returning proper Expires headers and put httpd in front of such setup with mod_cache properly configured. This way you can have easy to use servlet:/logo.gif links in your HTML sources and leverage performance boost of using httpd for serving static resources. -- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
