Skip to content

Commit 269acc6

Browse files
committed
MAGETWO-75769: Cache Popular Search Terms and Their Search Results Pages
1 parent 2d009ec commit 269acc6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/code/Magento/CatalogSearch/view/frontend/web/js/search-terms-log.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,12 @@ define([
3232
}
3333

3434
return function (data) {
35-
var url = data.url;
36-
3735
$.ajax({
3836
method: 'GET',
39-
url: url,
37+
url: data.url,
4038
data: {
4139
'q': urlParameters().q
42-
},
43-
cache: false
40+
}
4441
});
4542
};
4643
});

0 commit comments

Comments
 (0)