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

Commit

Permalink
feat: stop caching gatsby page-data
Browse files Browse the repository at this point in the history
  • Loading branch information
srwang committed Apr 18, 2024
1 parent 1fa9960 commit cae7fea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ server {
add_header Cache-Control "no-store, max-age=0";
}

location /page-data/ {
port_in_redirect off;
add_header Cache-Control "no-store, max-age=0";
}

# PROSPECTUS_TEMPORARY_REDIRECTS will be a list of dictionaries which have:
# - from_path: The path of the course-about page that you want redirect
# - to_path: URL to redirect to
Expand Down

0 comments on commit cae7fea

Please sign in to comment.