Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3753

The Last-Modified of a scss file is the root date and not the last import date

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0
    • None
    • None
    • 4.8.0 RC1
    • Oui

      When a.scss imports b.scss, loading a.css indicate always the lastmodified of a event if b is more recent and has changed.
      This makes the browser caching the a.css where it should asks it again when b is modified
      CTRL+SHIFT+R work and the new a.css file is downloaded but still with a lastmodified of the a file while it should have the most recent.

      Use case:
      change the captcha system and login to admin wrongly 3 times.

      To fully test it, the captcha system change should be done in production mode, since I remember that the scss import is not recursive in that mode, but the captcha scss import is at level 2 as far as I remember

        1. good css.png
          46 kB
          Raphaël Franchet
        2. image-2024-06-25-11-05-00-348.png
          121 kB
          Loïc Bouchet
        3. wrong css.png
          51 kB
          Raphaël Franchet

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Raphaël Franchet Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: