Unofficial parts once again being redirected to https


RE: Unofficial parts once again being redirected to https
#8
(2024-01-23, 18:28)Orion Pobursky Wrote: What url are you using? I only opened part downloads since updates had the chunked vs. unchunked problem.

I think that the URLs I posted in this thread no longer work, but maybe the part got renamed?

Regarding chunked, I believe that LDView 4.5 (the current latest release) contains a fix for the gzip/chunked combination, and I think the current server is serving up files with both gzip and chunked set. (Actually, I believe that the files now go through Cloudflare, so Cloudflare is serving up the files with gzip and chunked.)

While working on https support, I did notice that the responses (in both http and https) no longer have a Last-Modified header. (They also lack an ETag header, for what it's worth, but LDView never used ETags.) The missing Last-Modified header has a negative impact on LDView, since I think it means that every single time LDView loads an unofficial part that it has already downloaded, it redownloads the file. (Note: when a model uses the same part multiple times, it will only load and redownload once each time the model is opened.) I think that while the code was written to not blow up without Last-Modified, the logic always assumed that such would be present. If Last-Modified is gone for good, I can redo the logic that determines whether or not to try downloading an updated version.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Unofficial parts once again being redirected to https - by Travis Cobbs - 2024-01-23, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)