wiki.techinc.nl/includes/Rest
Nikki Nikkhoui 0b3a4c0fa8 Do not cache private wiki completion results
Previously, when a user with correct permissions uses completion search on a
private wiki, the results are returned and cached. Since we are on a private wiki,
we don't want to cache results since the content is not accessible to all users.

Now, content that is not accessible to all users will not be cached.

This patch achieves this by setting the appropriate Cache-Control response headers
for the MW REST Search endpoint.

Bug: T292763
Change-Id: I693b4088df9c0520d5238c286312ec52ab273604
2021-10-12 13:12:05 +00:00
..
BasicAccess build: Updating dependencies 2021-07-22 03:36:05 +00:00
Handler Do not cache private wiki completion results 2021-10-12 13:12:05 +00:00
HeaderParser Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
Hook
i18n Localisation updates from https://translatewiki.net. 2021-09-15 08:00:28 +02:00
PathTemplateMatcher
Validator UserDef: use TitleParser instead of Title objects 2021-09-14 03:25:36 +00:00
ConditionalHeaderUtil.php
CopyableStreamInterface.php
coreDevelopmentRoutes.json Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
coreRoutes.json Do not cache private wiki completion results 2021-10-12 13:12:05 +00:00
CorsUtils.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
EntryPoint.php Make EntryPoint::getTextFormatters() private 2021-06-02 13:36:16 +00:00
Handler.php More master -> primary documentation and internal var renaming 2021-07-15 11:20:20 +01:00
HeaderContainer.php
HttpException.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
JsonEncodingException.php
LocalizedHttpException.php
RedirectException.php
RequestBase.php
RequestData.php
RequestFromGlobals.php
RequestInterface.php
Response.php
ResponseException.php
ResponseFactory.php In Rest\ResponseFactory, substitute invalid UTF-8 2021-08-26 08:58:45 +10:00
ResponseInterface.php Fix some @stable for ... annotations to use @stable to ... 2021-07-08 02:54:59 +00:00
Router.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SimpleHandler.php
Stream.php
StringStream.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00