Closed 4dcb6662-e430-4fce-a9cb-91b926d258e6 closed 9 years ago
Are you sure it doesn't update? Are you requesting an explicit reload from your browser? As an example: If I do
for i in range(1000):
print i
in the notebook and click full_output.txt
I get the output as requested (in a new tab).
If I now change the same cell:
for i in range(1000):
- print i
+ print i^2
the tab full_output.txt
doesn't change when I use firefox. This is because newer versions of Firefox, when asked to open a URL that is already open in some tab or window, will just change to that tab/window; it does not reload the content. Once I explicitly ask to reload that file, I do get the updated output.
The above behaviour is not a bug in Sage. It's an issue with Firefox and it's probably considered a feature. There may be a setting in about:config
to influence this behaviour. Probably other browsers have similar behaviour.
If your observations do not agree with what is described above, please describe them.
You are write! I'm sorry didn't noticed before.
Upstream: Completely fixed; Fix reported upstream
According to this discussion, I think this should be closed.
Changed upstream from Completely fixed; Fix reported upstream to none
Description changed:
---
+++
@@ -1,3 +1,3 @@
-If after running a command with a huge output, one changes the command line and rerun, the output file is not updated.
+Since the `full_output.txt` files generated by the notebook are often changed, the client web browser should always ask for a new version instead of retrieving a cached version.
-I found this behaviour trying to construct a representation of the Clifford Algebra in 6-dimensions, as tensor_product of Clifford Algebras in 2-dimensions.
+We need to add the right HTTP headers to instruct the browser.
This issue hasn't been fixed, I'm updating the description.
Description changed:
---
+++
@@ -1,3 +1,3 @@
Since the `full_output.txt` files generated by the notebook are often changed, the client web browser should always ask for a new version instead of retrieving a cached version.
-We need to add the right HTTP headers to instruct the browser.
+We need to add the right HTTP headers to instruct the browser to always request a new version of `full_output.txt` from the server.
Changed keywords from notebook, full_output, update to notebook, full_output, http, cache
Well, then maybe see #14633, since there were three tickets that were opened about this same issue? I'll put your comments there and the relevant upstream ticket.
Since the
full_output.txt
files generated by the notebook are often changed, the client web browser should always ask for a new version instead of retrieving a cached version.We need to add the right HTTP headers to instruct the browser to always request a new version of
full_output.txt
from the server.Component: notebook
Keywords: notebook, full_output, http, cache
Issue created by migration from https://trac.sagemath.org/ticket/13585