Problem with previewing Latex images

  • Context: LaTeX 
  • Thread starter Thread starter hkBattousai
  • Start date Start date
  • Tags Tags
    Images Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
hkBattousai
Messages
64
Reaction score
0
This forum has a problem with Latex for a long time.

Please try it yourself:
  1. Start writing a new post
  2. Write down a Latex text in it (with "[latex ]...[/latex ]" tags)
  3. Preview your Latex output (press the "Preview Post" button - No problem until now)
  4. Now change your Latex text and press the "Preview Post" button again
  5. On this second preview, you don't see the latest change in your Latex, you see the output of your very first edition of you Latex text

I thing this is because of browser cache. When I browse my posted topic in a different browser, I see the change, but the same browser does not update the image. I'm experiencing this problem with only this forum, the other forums has no problem with Latex. Actually, I'm previewing Latex using another forum before posting here...

Can you please fix this?
 
on Phys.org
hkBattousai said:
  1. Start writing a new post
  2. Write down a Latex text in it (with "[latex ]...[/latex ]" tags)
  3. Preview your Latex output (press the "Preview Post" button - No problem until now)
  4. Now change your Latex text and press the "Preview Post" button again
  5. On this second preview, you don't see the latest change in your Latex, you see the output of your very first edition of you Latex text

Step 6: hit the "refresh" or "reload page" button on your browser.
 
hkBattousai said:
This forum has a problem with Latex for a long time.
And yet it didn't occur to you that there might be other threads about this. :wink:

This is what I said in one of the other two that are currently on the first page:
Fredrik said:
There's probably 20 threads about this already, but most of them just say that the workaround is to refresh and resend after each preview. It appears that we've had this problem since April 13, 2010. According to our LaTeX guy, chroot, nothing changed on the server around that time. The problem is essentially the same in all versions of all browsers, on all operating systems. This strongly suggests that the service provider started doing some weird caching around then. Has anyone been in contact with them? Maybe Greg just needs to ask them to configure an exception.

I don't know this web stuff well enough to know if something can be done on the server. Is it possible to configure the web server software to instruct proxies to not cache images?

It seems to me that something else must be wrong, in addition to the fact that somebody is caching something. How does a transparent proxy know what image to use from the cache? Isn't the image identified by a file name or something? When I previewed these four LaTeX images, I got the two images from my previous post instead of 1 and 2, but 3 and 4 were fine.

[tex]1[/tex]

[tex]2[/tex]

[tex]3[/tex]

[tex]4[/tex]

Can someone explain how that's possible?