Conversation
|
The review app is throwing an Internal Server Error. I'm going to investigate further. Update: this was due to a misconfig between Django Compressor and Vite's manifest. I'm seeing what happens if I remove Django Compressor from the app. Update 2: Ok, removing Django Compressor made progress. Now I have an issue where the main CSS and JS return 403 errors from our staging AWS bucket. |
|
During deployment, something is happening with the staging S3 bucket where the permissions aren't being set correctly on the collected static assets. Requests for these assets return a 403 error. |
| {% endif %} | ||
|
|
||
| {% compress_cache foia_cache_timeout foia_detail_bottom foia.pk request.user.pk %} | ||
| {% cache foia_cache_timeout foia_detail_bottom foia.pk request.user.pk %} |
There was a problem hiding this comment.
This should still be compress_cache - this is compressing the cached data and does not have anything to do with django-compressor or asset management
Replaces Webpack with Vite 7. Significantly reduces the complexity of developing, building, and bundling static JS and Sass files while improving DX and overall bundle size.
When reviewing, we should make sure that assets (styles, scripts) load and execute as expected. There shouldn't be any obvious differences between our review app and production.