Topic on Project:Support desk

Pages not loading correctly sometimes - Cache problem?

3
Hyposmia (talkcontribs)

MediaWiki 1.21.1 PHP 5.4.9-4ubuntu2.3 (apache2handler) MySQL 5.5.32-0ubuntu0.13.04.1

URL: http://elwiki.net/

I don't know if this is supposed to be a common problem, but since I enabled memcached and file caching this often happens randomly when I try to load a page: http://i.imgur.com/Z70fMDd.png

Is there a way I can fix this? Thanks.

MarkAHershberger (talkcontribs)

There are several things to that could affect or be affected by caching. Your screenshot shows the recent changes page, but it isn't clear what is wrong with the page. When I click on it, I see what looks like a normal RecentChanges page.

(BTW, I added your site to WikiApiary -- http://wikiapiary.com/wiki/ElWiki -- feel free to update the entry.)

Ciencia Al Poder (talkcontribs)

This problem (pages without styles applied) is normally a problem with Manual:load.php not returning data, timing-out or giving a 500 error.

I've reproduced the problem in your wiki (which happens randomly), and that's because this URL randomly returns it's contents as Content-Type: text/html or Content-Type: text/css.

CSS rules aren't processed on the browser if they're delivered as any other Content-Type different than text/css. This looks like a problem with your cache (Cloud-flare?).

Reply to "Pages not loading correctly sometimes - Cache problem?"