-
Notifications
You must be signed in to change notification settings - Fork 56
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
Reserved option to disable compression #776
Comments
@huseyinkozan Can I ask why a documentation tool like If this is a needed feature, how do you envision it working with the current |
@HipsterBrown You are right about apidoc deployment. Just packing all in one; api, gui, doc.
|
Before I start implementing, I want to know more about this use case. If compression is turned off, it will mean that all of the JS will be deployed without any compression. It's also important to know that the only files that are compressed are those that are discovered via the dependency graph—which means they are Edit: Can you create a minimal project in a repo that I can clone and deploy? |
Thank you @rwaldron for asking. This is the second time that I want to disable the compression. First one was for debugging pusposes. After pushing, I tried to change the sources at the device (t2 root && nano /app/remote-script/index.js). For this case we can say we only need our developed sources, not the dependent libraries. Sometimes it is fast to change the souces at the device. For ex; trials. Second one was the error at the first post of this issue. It will be very helpful to debug the stuation, if we can disable for all source and dependent files. I cannot create a reproduce project now. But maybe later, if I have time. |
…elgh-776 - `t2 run <index.js> --compress=false` will skip the code compression step Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
…elgh-776 - `t2 run <index.js> --compress=false` will skip the code compression step Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
…elgh-776 - `t2 run <index.js> --compress=false` will skip the code compression step Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
…elgh-776 - `t2 run <index.js> --compress=false` will skip the code compression step Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Seems only |
@huseyinkozan I made a tracking issue: #808 |
I have trouble at runtime with apidoc. Few days ago I searched the sources for disabling the compression, but cannot find.
Is it possible to add an option to disable copression for the Node files ?
Here the apidoc error while requesting
http://192.168.2.2/api/vendor/jquery.min.js?v=1466512139991
. It works like this :http://192.168.2.2/api/vendor/jquery.min.js
, but couldnt find what is adding non-cache stuff : ^ /The text was updated successfully, but these errors were encountered: