Skip to content

NGX-738: Add caching for 301 redirects in NGINX configuration #32

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

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

combssm
Copy link
Member

@combssm combssm commented Feb 22, 2024

This commit introduces caching for 301 redirect responses in the NGINX configuration. The 'proxy_cache_valid' directive has been updated to cache 301 status codes for a default period specified by the 'nginx_cache_time_default' variable. This change aims to improve performance by reducing the load on the server for frequently accessed redirected URLs and ensures a faster response time for end users. The caching durations for 200 and 404 status codes remain unchanged.

Related to performance optimization efforts.

@combssm combssm merged commit e46eef6 into master Feb 22, 2024
@combssm combssm deleted the NGX-738 branch February 22, 2024 14:31
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.

1 participant