Problem/Motivation
- The interdiff in #2429617-278: Make D8 2x as fast: Dynamic Page Cache: context-dependent page caching (for *all* users!) changed dynamic_page_cache (then known as SmartCache) to cache responses of any format, not just HTML.
- However, the
@filedoc ofdynamic_page_cache.modulewas not fixed accordingly. It still saysCaches HTML responses....
Proposed resolution
Fix that doc line to be correct.
Remaining tasks
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2877136-8.patch | 628 bytes | wim leers |
Comments
Comment #2
wim leersHAH! Best nitpick ever!
Comment #3
wim leersComment #4
catchI nearly committed this, but even for a one-word-remover, please don't RTBC your own patch.
However this can count as that RTBC so not changing status.
Comment #5
alexpottThis is a tricky one. Sorry @catch and @Wim Leers.
This is still quite a strange sentence. I think what it is saying is:
Caches responses depending on cacheability metadata and request and response policies.Also looking at the page_cache.module I think we need to differentiate:
I'm pretty sure this also uses cacheability metadata too.
Comment #6
wim leers#4: The reason I self-RTBC'd is because I literally A) removed , B) added , to a single-line, high-level comment of the module that I'm the only active maintainer for…
#5: I agree it's a strange sentence, and your interpretation is correct. I failed to make it clearer while still fitting it within 80 cols. Your suggestion exceeds it too…
And no, Page Cache completely ignores cacheability metadata. It caches blindly, as long as request and response policies allow it.
If it were up to me, we'd simply
rm -rfthis docblock. The entire reason these files even exist ishook_help()…This
@filedocblock is completely and utterly pointless. Every minute we spend on this issue is a waste of time IMHO.Comment #7
alexpottHow about just borrowing from hook_help. Imo we have too much implementation here anyway. And guess I agree that this is useless text and annoying to maintain.
My suggestion that fits:
Caches responses for all users, handling dynamic content correctly.Comment #8
wim leersWorks for me.
P.S.: it seems the fewer actual issues there are for a module, the more nitpicky we become? :)
Comment #9
borisson_Comment #10
wim leers#9: thanks!
Comment #12
catchCommitted/pushed to 8.4.x, thanks!
Comment #13
wim leersThanks!