Simple Cache Behaviour

Hi

I've found some articles on Simple Cache but none seems to address my problem.  My site will only display css if the Simple Cache is enabled. When I disable simple cache the css disappears on next refresh.  Have tried various things

1. disabling simple cache. clearing browser cache, enabling simple cache.

2. running uprade.php.

3. using data file in same level folder as root.

My site is at http://www.smokist.com/

Can anyone help with troubleshooting further?

Phil

  • Heyho,

    I confirm having exactly the same problem. Seems like there were already several bugs reported, but fixed. e.g. http://trac.elgg.org/elgg/ticket/844

    my data is above root if this makes a difference. It's a fresh install of 1.6.1

    Cheers,
    Chris

  • I just looked at the source code and found this in the header (simple cache is turned OFF):

    <link rel="stylesheet" href="http://www.mydomain.com/subfolder/_css/css.css?lastcache=1260818659&viewtype=default" type="text/css" />

    Does the fact that it still links to somthing with lastcache mean that turning off simple cache doesn't take effect? Sorry for the stupid question, but it's my first day with elgg :-)

    Cheers,
    Chris

  • I can't answer your question Chris, but thanks for joining the quest! I'm new too but I've started an elgg site on a free host, were the "simple cache" did what it said on the tin. I had to turn it off in order to see any css changes I had made. Now I'm on a new paid host and experiencing the behaviour I have recounted above. I can get new css changes to show up, I've learnt, by unchecking simple cache, saving, clearing browser cache, checking simple cache and saving. If you wanted to leave the cache off for a while so that all your visitors experienced any css changes you might make, you can't!

  • Hmmm... this is weird - I read some other threads where the hoster seems to be an issue. This is why I wanted to do something good and have chosen an extra expensive hoster for my elgg site. It's not a server but you can still change all configs, your php.ini and things like that as if it was your own. However, I guess we would both aprecciate any help?

    Cheers,
    Chris