decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
383 stars 119 forks source link

Better cache busting #1109

Open ethteck opened 8 months ago

ethteck commented 8 months ago

When we update certain things like the recent #1103 , it breaks the site because the browser cache doesn't play well with the new state of things

bates64 commented 8 months ago

vercel deploys would fix this plobably

ethteck commented 8 months ago

I'm sure there's an elegant solution that wouldn't require using vercel. I would rather we go for a simple fix for this issue

bates64 commented 8 months ago

yeah, i just maintain that vercel would give us lots of other nice benefits too

bates64 commented 8 months ago

as vercel want me to think obviously so they can make their investors happy but its free so

ethteck commented 8 months ago

I think I've found one of the issues... /api/compiler is returning a 304. Once I manually loaded this endpoint, I stopped getting errors. adding the backend tag too

ethteck commented 8 months ago

I think last_modified_funcs should add in when the backend launched: https://github.com/decompme/decomp.me/blob/main/backend/coreapp/views/compiler.py#L40