[COMMENTING-29] Rest calls are cached by default on public instances Created: 13/Jul/20  Updated: 20/May/21  Resolved: 20/May/21

Status: Closed
Project: Commenting
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1.1

Type: Bug Priority: Major
Reporter: Edwin Guilbert Assignee: Riste Drangovski
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 6.2.1


Attachments: XML File config.modules.cache.config.contentCaching.defaultPageCache.cachePolicy.shouldBypassVoters.urls.excludes.restComments.xml     PNG File image-2020-07-13-17-15-42-529.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:

 Description   

There is no specific cache configuration for excluding commenting rest calls from cache. In consequence the public instance will show the same comments over and over without showing the current data.



 Comments   
Comment by Edwin Guilbert [ 13/Jul/20 ]

Adding a simple exclude rule would do the trick:

Example config attached.

Comment by Edwin Guilbert [ 14/Jul/20 ]

Docs page updated accordingly: https://wiki.magnolia-cms.com/display/SERVICES/Commenting#Commenting-Anonymouscomments.

Comment by Riste Drangovski [ 12/Apr/21 ]

@Teresa Miyar as Edwin explained this is magnolia configuration, do we need to do anything else for the issue ?

Comment by Teresa Miyar [ 16/Apr/21 ]

rdrangovski we will need to add the bootstrap file with the configuration proposed by Edwin

Generated at Mon Feb 12 00:01:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.