-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jscad.app fantasizes design for non-existing URL #84
Comments
@Hermann-SW best solution would be to setup CORS headers, so jscad.app can run them by using browser download. Since you do not have correct CORS headers, jscad.app uses fallback proxy, that is hosted on some cloud provider. There is obviously some heavy caching in that cloud service. @platypii could you look into it ? |
@hrgdavor Different to one of your previous postings on CORS only one "*allow*" header is returned by the raw gist (access-control-allow-origin: *). |
@Hermann-SW cache is now turned off for the proxy script by @platypii . Try again, I did, and now it shows error correctl, instead of old cached file. This will also be useful if file changes from time to time, so ppl get fresh version. |
there is a special pre-flight request that browser is not showing you. And also I copied .htaccess example from somewhere, and it worked for me. I did not try to minimize it. |
@hrgdavor
|
Just one last comment, I experimented with gist and cache control. max-age=300 for raw gist cannot be lowered.
More details: |
@Hermann-SW thank you for the research, and the insights, I will add those findings somewhere in readme for others to see |
I worked on Raspberry Pi5 before, switched to Linux on x86_64 laptop.
This file does not exist:
https://stamm-wilbrandt.de/en/forum/C36_10.correct.jscad
Proof on server:
openjscad.xyz errors out as it should:
https://openjscad.xyz/?uri=https://stamm-wilbrandt.de/en/forum/C36_10.correct.jscad
jscad.app shows a model for that URL:
https://jscad.app/#https://stamm-wilbrandt.de/en/forum/C36_10.correct.jscad
The model displayed is one I created, but not under that name.
New OS, new browser (chrome this time), so it cannot be a problem of local browser cache.
Does jscad.app fantasize?
If so, can that be turned off please?
The text was updated successfully, but these errors were encountered: