Is there a way to cache Javascript, CSS and image files?
Yes, Javascript, CSS, and image files can all be cached in Liferay. For Javascript and CSS, look in any of the themes’ “templates” directory. You’ll find 2 JSPs there – css_cached.jsp and javascript_cached.jsp. They do exactly what you’d expect. As for image files, any images that are stored in our database will be cached like any other object via OSCache, and any images that actually live on the server will be cached by your browser unless you turn that off.