Problem with previewing Latex images

  • Context: LaTeX 
  • Thread starter Thread starter hkBattousai
  • Start date Start date
  • Tags Tags
    Images Latex
Click For Summary
SUMMARY

The forum discussion addresses a persistent issue with previewing LaTeX images, where users do not see updated outputs after modifying their LaTeX text. This problem is attributed to browser caching, as changes appear in different browsers but not in the same one. Users have suggested refreshing the page as a workaround, indicating that the issue has been ongoing since April 13, 2010, likely due to server-side caching configurations. The discussion highlights the need for potential adjustments to the web server settings to prevent caching of LaTeX images.

PREREQUISITES
  • Understanding of LaTeX syntax and usage, specifically with "[latex ]...[/latex ]" tags.
  • Familiarity with web browser caching mechanisms and their impact on content display.
  • Basic knowledge of web server configurations and caching strategies.
  • Experience with troubleshooting web application issues across different browsers.
NEXT STEPS
  • Investigate browser caching techniques and how they affect dynamic content rendering.
  • Learn about configuring web servers to manage caching behavior, particularly for images.
  • Explore alternative LaTeX rendering tools or plugins that may bypass caching issues.
  • Research user experiences and solutions in forums regarding persistent caching problems in web applications.
USEFUL FOR

Web developers, forum administrators, and users who frequently utilize LaTeX in online discussions and need to troubleshoot rendering issues effectively.

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?
 
Physics news 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.

1

2

3

4

Can someone explain how that's possible?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 23 ·
Replies
23
Views
3K