Recommended way for content disposition configuration
Hi guys,
Suppose if i want to allow the PDFs to view in browser instead of downloading, May i know which method is recommended way to do it ?
1. Setting content disposition config in dispatcher
or
2. Allowing it through Apache Sling Content Disposition Filter (org.apache.sling.security.impl.ContentDispositionFilter) OSGI Configuration ?