Review Usage Of CacheTime.Facia
For Image, Media And Gallery Content
#27628
Milestone
CacheTime.Facia
For Image, Media And Gallery Content
#27628
When this content is rendered by DCAR, we're using
CacheTime.Facia
to set the cache time:frontend/common/app/renderers/DotcomRenderingService.scala
Line 361 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 372 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 384 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 396 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 408 in c7b403b
This is designed for "facia" content (fronts, tag pages, etc.), so may not be what we want for articles. It might be preferable to instead base the cache time on the metadata, as we do for most other articles:
frontend/common/app/renderers/DotcomRenderingService.scala
Line 215 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 311 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 323 in c7b403b
frontend/common/app/renderers/DotcomRenderingService.scala
Line 339 in c7b403b
The text was updated successfully, but these errors were encountered: