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

    • 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

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

          Raphaël Franchet made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Bérénice Maurel made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Bérénice Maurel made changes -
          Fix Version/s Original: 4.7.12 [ 18582 ]
          Cédric Damioli made changes -
          Rank New: Ranked higher
          Loïc Bouchet made changes -
          Assignee Original: Loïc Bouchet [ lbouchet ] New: Raphaël Franchet [ raphael ]
          Loïc Bouchet made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Loïc Bouchet made changes -
          Attachment New: image-2024-06-25-11-05-00-348.png [ 29976 ]
          Loïc Bouchet made changes -
          Assignee New: Loïc Bouchet [ lbouchet ]
          Cédric Damioli made changes -
          Assignee Original: Cédric Damioli [ cedric ]
          Cédric Damioli made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]

            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: