mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-24 00:05:50 +00:00
Cache morelike
requrests
The cache length is 24 hours. Bug: T126455 Change-Id: Icd328f70ced16cc43fc0ad62c8a1f49ce71d6369
This commit is contained in:
parent
62af14cab1
commit
8afb02b64a
|
@ -77,6 +77,7 @@
|
|||
parameters.gsrnamespace = '0';
|
||||
parameters.gsrlimit = limit;
|
||||
parameters.gsrqiprofile = 'classic_noboostlinks';
|
||||
parameters.smaxage = 86400; // 24 hours
|
||||
} else {
|
||||
return $.Deferred().resolve( [] );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue