A website of mine is behaving weirdly. The layout sometimes is fine, and sometimes it is screwy. An example page that I see the problem on is this one: link
Disclaimer: I have yet to start my investigation into cause in earnest. I am turning to Stackoverflow because I am lazy and I hope someone will say "That happened to me once, it is probably this...". So please, no one get stuck into this working out this issue if it is something you have never seen before, as it wouldn't be fair as I have not done it myself.
Ok, some background:
- The problem usually (maybe always) occurs when first viewing the page
- The problem does not show up always, only sometimes
- When the page shows up munged, if you refresh it usually reloads looking as it should
- The site is a rails app
- The css is passed through the neat Smurf Gem, which automatically minifies the CSS and Javascript on the page.
- The layout problems happen in firefox (both linux and winXP)
- The CSS is served up in the production environment using the ":cache => true" option which concatenates all the css files into one file
Anyway, I am hoping that this has happened to someone before and it will be really simple to fix. If not, I'll go and investigate and return with the solution (or a request for more help).
Thanks in advance!
James.
[edit]I added the first two bullet points, inspired by the comments and first answer[/edit]