JSF Cache Static Resources Filter

How do I write a filter which will appropriately cache static resources as recommended by Google (https://developers.google.com/speed/docs/best-practices/caching). Is it sufficient to create a fil...