Skip to content

Commit

Permalink
fix: purge cdn cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 17, 2024
1 parent 41e28d5 commit 4cdd90a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions downloads/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def purge_fastly_download_pages(sender, instance, **kwargs):
if instance.is_published:
# Purge our common pages
purge_url('/downloads/')
purge_url('/downloads/feed.rss')
purge_url('/downloads/latest/python2/')
purge_url('/downloads/latest/python3/')
purge_url('/downloads/macos/')
Expand Down

0 comments on commit 4cdd90a

Please sign in to comment.