wiki.techinc.nl/includes/Rest/Handler
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
..
AbstractContributionHandler.php
ActionModuleBasedHandler.php
CompareHandler.php
ContributionsCountHandler.php
CreationHandler.php
EditHandler.php Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
LanguageLinksHandler.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
MediaFileHandler.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
MediaLinksHandler.php FileRepo::findFile - support Authority 2021-05-26 19:01:12 -07:00
PageContentHelper.php Post Revision-removal cleanup 2021-06-24 00:32:39 +00:00
PageHistoryCountHandler.php Schema migration for revison_actor_temp table removal 2021-07-14 08:29:04 +10:00
PageHistoryHandler.php Schema migration for revison_actor_temp table removal 2021-07-14 08:29:04 +10:00
PageHTMLHandler.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
PageSourceHandler.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
ParsoidHTMLHelper.php Add slow-parsoid log channel 2021-09-15 15:48:11 +10:00
RevisionContentHelper.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
RevisionHTMLHandler.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
RevisionSourceHandler.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
SearchHandler.php Do not cache private wiki completion results 2021-10-12 13:12:05 +00:00
UpdateHandler.php
UserContributionsHandler.php build: Updating dependencies 2021-07-22 03:36:05 +00:00