Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39747

Not all adjunct JavaScript is being coming directly from the browser cache

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      tasman, frank, tethys

      Description

      I notice on my laptop now that not all of the javascript adjuncts are coming directly from the cache. My browser (chome) is issuing If-Modified-Since requests for a few of the resources (including blueocean.js), while other resources are coming directly from the cache as expected.

      This is weird for sure. I can't see why the browser is issuing the If-Modified-Since requests for some resources and then getting the other resources from the cache. I can see the resources in the browser cache (chrome://cache/), yet the browser is still issuing the request and getting the 304 response. I am 100% sure everything was coming from the cache when we made the changes to set the Cache-Control header, so not sure what has changed. We want to eliminate those requests.

        Attachments

          Activity

          Hide
          jamesdumay James Dumay added a comment -

          Good to know - thanks for looking into it!

          Show
          jamesdumay James Dumay added a comment - Good to know - thanks for looking into it!
          Hide
          tfennelly Tom FENNELLY added a comment -

          I was talking out of my butt cheeks on this one ... I tested ci.blueocean.io and it's working just fine (see screenshot). I bet I created this JIRA when running the plugin via HPI, in which case we turn off the caching. Only explanation I can come up with.

          Show
          tfennelly Tom FENNELLY added a comment - I was talking out of my butt cheeks on this one ... I tested ci.blueocean.io and it's working just fine (see screenshot). I bet I created this JIRA when running the plugin via HPI, in which case we turn off the caching. Only explanation I can come up with.
          Hide
          jamesdumay James Dumay added a comment -

          Tom FENNELLY nice find. Ill pull this into next weeks sprint.

          Show
          jamesdumay James Dumay added a comment - Tom FENNELLY nice find. Ill pull this into next weeks sprint.

            People

            Assignee:
            tfennelly Tom FENNELLY
            Reporter:
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: