Closed
Description
This issue is automatically created based on existing pull request: #30340: Allow to cache search results
Description (*)
Magento 2.4-develop
search result page can be cached, but varnish vcl has a rule to not cache the page.
Manual testing scenarios (*)
- Configure magento to use varnish for FPC
- Do a search with one of the top 100 searches (default value), or go to Admin -> Stores -> Configuration -> Catalog -> Catalog -> Catalog Search and set
Number of top search results to cache
to 0 (this will set to cache all the results) - Do the same query, to see if you hit the cache.
Actual result:
- The search page is not cached.
Expected result:
- The search page should be delivered from cache
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 4. Acknowledged. Issue is added to backlog and ready for developmentMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done