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

Remove invalid meta tags "pragma" and "expires"

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • HTML and CSS

      Found this while looking at MDL-42869.

      It seems that since 2009 (commit 34a2777ccb973f2fc093249fcc3a8bb09c062b5d), Moodle inserts two meta tags to "allow control of cache without touching https headers". This technique seems a little outdated and the W3C validator report invalid "http-equiv" content and make the document invalid.
      Since Moodle already handle cache with HTTP Headers, it seems we can remove this code.

            danielneis Daniel Neis Araujo
            danielneis Daniel Neis Araujo
            Petr Skoda Petr Skoda
            Marina Glancy Marina Glancy
            Andrew Davis Andrew Davis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.