Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7173 from openedx/revert-7172-swang/ws-4498-fix-p…
Browse files Browse the repository at this point in the history
…rospectus-reload-issue

Revert "feat: stop caching prospectus app-data.json"
  • Loading branch information
srwang authored Apr 26, 2024
2 parents 91c857a + 647df7d commit 85b4b0a
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@ server {
{% endif %}
}

# want to avoid caching app-data.json file as an out-of-date hash leads to the application refreshing
location /page-data/app-data.json {
port_in_redirect off;
add_header Cache-Control "no-store, max-age=0";
proxy_pass http://edx-stage-prospectus-static.s3-website-us-east-1.amazonaws.com/71058f2-5803$request_uri;
# Hide client headers from S3 to prevent request headers too big error
proxy_pass_request_headers off;
}

# favicon is requested a lot. cache it at the edge.

location /favicon.ico {
Expand Down

0 comments on commit 85b4b0a

Please sign in to comment.