Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32825

make file operations more atomic in theme image, css and other javascript serving scripts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: General
    • Labels:

      Description

      The problem is similar to lang caching, sometimes the files may be read before we complete the actual writing of cache files, this might result in broken/incomplete data landing in proxy or browser caches:

      • /lib/javascript.php
      • /theme/image.php
      • /theme/styles.php
      • /theme/javascript.php

      The more we cache the worse this can get...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12