Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-320

shoppingCartFilter filter should exclude /imagevault/ pattern

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: sf server
    • Labels:
      None

      Description

      shoppingCartFilter resolves cart for every image that we render which unwraps the whole cart object from cookies everytime, which we do not really use (web/store/src/main/webapp/WEB-INF/web.xml)

      The correct exclusion pattern for shoppingCartFilter should be

      <filter>
      <filter-name>shoppingCartFilter</filter-name>
      <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
      <init-param>
      <param-name>targetFilterLifecycle</param-name>
      <param-value>true</param-value>
      </init-param>
      <init-param>
      <param-name>excludePattern</param-name>
      <param-value>(services/(backdoor|cachedirector))|(imgvault/)</param-value>
      </init-param>
      </filter>

        Attachments

          Activity

            People

            • Assignee:
              denis.lozenko Denis Lozenko (Inactive)
              Reporter:
              denis Denis Pavlov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: