You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Muhammad Naveed (Jira)" <ji...@apache.org> on 2020/07/10 16:11:00 UTC

[jira] [Comment Edited] (SLING-9584) Support skipSelectors for pipeline configuration

    [ https://issues.apache.org/jira/browse/SLING-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155579#comment-17155579 ] 

Muhammad Naveed edited comment on SLING-9584 at 7/10/20, 4:10 PM:
------------------------------------------------------------------

Hi [~kwin],
 here are a couple of examples where I would like to skip the pipeline processing.
# SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/product-finder-structure', selectorString='0.20', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'
# SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/product-finder-structure', selectorString='0.40', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'

and in the following case, I would like the pipeline processing to proceed as usual.
 # SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/3rdpartyjs', selectorString='0.40', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'


was (Author: m.naveed):
Hi [~kwin],
here are a couple of examples where I would like to skip the pipeline processing.
- SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/product-finder-structure', selectorString='0.20', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'
- SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/product-finder-structure', selectorString='0.40', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'

and in the following case, I would like the pipeline processing to proceed as usual.
- SlingRequestPathInfo: path='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE/3rdpartyjs', selectorString='0.40', extension='html', suffix='/content/onemarketing/azde/reference-content-dedicated-azde/de_DE'

> Support skipSelectors for pipeline configuration
> ------------------------------------------------
>
>                 Key: SLING-9584
>                 URL: https://issues.apache.org/jira/browse/SLING-9584
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Rewriter 1.2.2
>            Reporter: Muhammad Naveed
>            Priority: Major
>
> Currently the pipeline configurations can be filtered based on paths, contentTypes, resourceTypes, extensions and selectors. 
>  However, it is not possible to skip/disable the pipeline processing for some specific selectors.
> For example, we would like to skip the pipeline processing only when the selector is either "0.20" or "0.40". These selector are used in AEM Touch UI sites view when the user is browsing through pages. Even the if page is not opened to view its contents, the pipeline processing is till applied.
>  This feature would help in improving the Author performance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)