18F / epa-notice

Web interface for viewing and commenting on proposed changes to federal regulations
Other
7 stars 17 forks source link

Cache network requests in homepage & intro views #452

Open tadhg-ohiggins opened 7 years ago

tadhg-ohiggins commented 7 years ago

Issue #450 resulted in PR #451, which fixed the problem with the days-remaining total, but removing the caching entirely means that the network requests on those pages may result in long load times, particularly if the sites we're requesting from are having any issues.

This issue is to track fixing this by putting caching for those requests into the views, rather than via Django's caching middleware.