1. 06 May, 2008 4 commits
    • Nigel McNie's avatar
    • Nigel McNie's avatar
      Use 'profileiconbyid' icon for the user's picture in their sideblock. · 243b99a8
      Nigel McNie authored
      This image can be sent with a long expires header, so given that it is on every page this makes sense.
      Even if the user changes their profile icon, the image shown to them will still be correct, because it will be at a different URL now.
    • Nigel McNie's avatar
      Send some expiry headers on some images served from thumb.php. · 5753ba96
      Nigel McNie authored
      So far, they are only being sent on images that we know will never change, namely the profileiconbyid icons and thumbs for the blocktypes.
    • Nigel McNie's avatar
      First go at apache configuration to improve performance. · 32c16cee
      Nigel McNie authored
      The following things are done:
      1) If mod_deflate is available, use it to send text/html, text/css and application/x-javascript files gzipped
      2) Remove ETags from all files. They can give benefits in some situations if configured correctly, but until they're investigated I'll just turn them off
      3) Send expires headers for a bunch of the static stuff, mainly the stuff in /theme and /js
      So far, this has resulted in reducing the size of the homepage from about 300K to 80K, and warm cache hits are only 2K in one request. These performance benefits apply similarly across the whole site.
  2. 04 May, 2008 5 commits
  3. 01 May, 2008 1 commit
  4. 29 Apr, 2008 7 commits
  5. 28 Apr, 2008 4 commits
  6. 24 Apr, 2008 1 commit
    • Nigel McNie's avatar
      Improved handling of parent/child authentication so duplicate users are not created. · ed2b4ac8
      Nigel McNie authored
      This comes from a report on the forums: http://www.mahara.org/node/155
      The problem stemmed from an apparent misunderstanding in the code about the purpose of the 'authinstance' column in the usr table. It is for the authentication instance the user uses to log in, and is normally the parent if they are using a child/parent authentication method. However, if the authentication method doesn't have a parent, it will be the child.
      This means we need to change checks in a couple of places to look for the parent _or_ child, rather than just one of them. Otherwise, some parts of the code believe that users don't exist when in fact they do, etc.
  7. 22 Apr, 2008 7 commits
  8. 21 Apr, 2008 11 commits