Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCST-2599: Add NoCacheForApiMiddleware to prevent API response caching #2877

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

OlegoO
Copy link
Contributor

@OlegoO OlegoO commented Jan 30, 2025

Description

feat: Introduced NoCacheForApiMiddleware to set HTTP headers (Cache-Control, Pragma, Expires) to prevent caching for API responses if hosting doesn't set it automatically.

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-2599

Artifact URL:

Image tag:
ghcr.io/VirtoCommerce/platform:3.878.0-pr-2877-b5e4-vcst-2599-b5e47801

feat: Introduced NoCacheForApiMiddleware to set HTTP headers (Cache-Control, Pragma, Expires) to prevent caching for API responses if hosting doesn't set it automatically..
@OlegoO OlegoO requested a review from Ljutyj January 30, 2025 13:48
Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.898
Timestamp: 30-01-2025T14:01:32

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.513
Timestamp: 30-01-2025T21:06:22

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.72
Timestamp: 31-01-2025T06:29:25

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.353
Timestamp: 31-01-2025T15:10:07

@OlegoO OlegoO merged commit cbb9a49 into dev Jan 31, 2025
14 checks passed
@OlegoO OlegoO deleted the feat/VCST-2599 branch January 31, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants