William Harvey
New member
Hi all,
I'm new with the forum and have just noticed that search queries are cached.
I'm looking in to implementing Google's sitelinks search box as detailed here: https://developers.google.com/webmasters/richsnippets/sitelinkssearch
To implement it you need a non caching search system.
Google ask for the following as part of a js script.
"target":"https://query.example-petstore.com/search?q={search_term_string}",
But the forum uses "/index.php?search/7/&q=ajax", with the /7/ being the cache.
If I implemented Google's code as
"target":"https://website.com/index.php?search/7/&q={search_term_string}",
It always reverts to the /7/ cache for whatever the search phrase is.
Does anyone have any suggestions regarding this?
Thanks
William
I'm new with the forum and have just noticed that search queries are cached.
I'm looking in to implementing Google's sitelinks search box as detailed here: https://developers.google.com/webmasters/richsnippets/sitelinkssearch
To implement it you need a non caching search system.
Google ask for the following as part of a js script.
"target":"https://query.example-petstore.com/search?q={search_term_string}",
But the forum uses "/index.php?search/7/&q=ajax", with the /7/ being the cache.
If I implemented Google's code as
"target":"https://website.com/index.php?search/7/&q={search_term_string}",
It always reverts to the /7/ cache for whatever the search phrase is.
Does anyone have any suggestions regarding this?
Thanks
William