Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
page_cache.module
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
9 Feb 2016 at 03:34 UTC
Updated:
9 Mar 2021 at 10:01 UTC
Jump to comment: Most recent
Comments
Comment #2
wim leers+1
This is not the cache system though, it's the Page Cache system. znerol is the maintainer for that, he worked on this. I'm sure he'll be able to clarify it.
Comment #3
chx commentedWell the namespace is
Drupal\Core\PageCacheso it can't be a module :/Comment #4
wim leers#2263981: Introduce a robust and extensible page cache-policy framework introduced this.
Comment #5
wim leersI totally agree, that's why we have #2540684: Rename Drupal\Core\PageCache namespace.
Comment #6
wim leersComment #7
znerol commentedIf someone is going to reword that, then please use the term http cache in place of page cache. The
no_cacheoption is somewhat documented inResponsePolicy/DenyNoCacheRoutes.php. Rather than adding implementation specific stuff to the policy rule interface I suggest to document routing options in a central place (e.g.routing.api.php).Comment #16
quietone commentedThe grammar error reported in the IS was fixed in Drupal 9.2.x in #2851394: Fix grammar 'a' to 'an' when necessary in Nov 2020.
It looks like the only here to determine if #7 should be a separate issue and/or if there is an issue for that already.
Comment #17
kristen polRegarding the wording in #7, the only places I see that use
http cacheare below so I suggest we leave as is and close this one out as duplicate../core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php: // In order to support HTTP cache-revalidation, ensure that there is a
./vendor/symfony/http-kernel/HttpCache/HttpCache.php: * This setting is overridden by the stale-while-revalidate HTTP Cache-Control
./vendor/symfony/http-kernel/HttpCache/HttpCache.php: * This setting is overridden by the stale-if-error HTTP Cache-Control extension
./vendor/symfony/http-kernel/HttpCache/StoreInterface.php: * Interface implemented by HTTP cache stores.
./vendor/symfony/http-foundation/Request.php: * in the response to prevent any issues with intermediary HTTP caches.
Comment #18
quietone commented@chx, Thanks for reporting this issue.
@Kristen Pol, thank you for that research.
Therefore, closing as a duplicate. If this is incorrect reopen the issue, by setting the status to 'Active', and add a comment explaining what still needs to be done.
Thx.