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

Performance: Add support for 304 response in filelib

    Details

      Description

      Currently there is not possiblity for a browser sending If-Modified-Since requests based on the expires / cache-control headers to receive a 304 Not Modified response from the server, so we must wait for this data transfer even if the intention was just to validate cache.

      This patch allows Moodle to return a 304 response when the If-Modified-Since check passes.

      This reduces traffic for e.g pages with many uploaded images (pluginfile.php) displayed.

      (github links incoming)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Oct/11