Resolving Latex Bug on Forum with Flush Technique

  • Context: LaTeX 
  • Thread starter Thread starter WildEnergy
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around a bug related to LaTeX rendering on the forum, specifically focusing on how to effectively flush out stale LaTeX images and improve the rendering process. Participants explore various techniques and workarounds to address the issue.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant identifies a bug in the LaTeX preview that causes old renders to be reused, suggesting that entering multiple LaTeX sections can help flush out stale images.
  • Another participant proposes that clearing the cache or reloading images might be an easier solution, although they are unsure if this method is still effective.
  • A participant points out the lack of cachebusters in the image URLs as a contributing factor to the issue and suggests using a force reload (CTRL + F5) as a quick workaround.
  • There is a question regarding whether the CTRL + F5 workaround is specific to certain operating systems or browsers, indicating uncertainty about its applicability across different platforms.
  • One participant mentions that all browsers have a similar feature for forcing reloads, but they are unsure of the specific key bindings for each browser.
  • A suggestion is made for the web master to modify the preview image URLs by adding a cachebuster to prevent caching issues.

Areas of Agreement / Disagreement

Participants express multiple competing views on the best approach to resolve the LaTeX rendering issue, with no consensus reached on a single solution.

Contextual Notes

Participants note limitations regarding the effectiveness of different methods and the need for specific browser behaviors, which remain unresolved.

Who May Find This Useful

This discussion may be useful for forum users experiencing similar LaTeX rendering issues, webmasters managing forum functionalities, and those interested in technical troubleshooting of web applications.

WildEnergy
Messages
35
Reaction score
0
trying to flush out latex bug on the forum

\sqrt{dog}
\sqrt{dog}
\sqrt{dog}
\sqrt{dog}
\sqrt{dog}
\sqrt{dog}
\sqrt{dog}

[edit] ok that worked // there is a bug in the latex preview // it caches old, stale latex renders and reuses them inappropriately // to fix just enter lots of tex sections to flush out the stale images // and don't use latex + preview
 
Physics news on Phys.org


Easier to clear cache or reload images. (I forget if that still works)
 


oh yes - they aren't using cachebusters on the image urls

super quick workaround = ctrl + f5 (force reload from origin)
 


WildEnergy said:
oh yes - they aren't using cachebusters on the image urls

super quick workaround = ctrl + f5 (force reload from origin)
I was unaware of that workaround, is it a Mac or a Windows trick? Is it browser-specific?

I see no reason to delete this thread, if it contains potentially useful advice like this.
 
AFAIK all browsers have this feature - what key binding they use I don't know

CTRL-F5 works on IE and FF for Windows

http://support.mozilla.com/en-us/kb/keyboard+shortcuts

this option alters the HTTP request to force intermediate caching proxies to pass on the request (including browsers local cache)

the web master should alter the preview image URLs by adding a cachebuster:
Code:
latex_images/preview221794-0.png?buster=489579834
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
7
Views
9K