Ticket Change Details
Not logged in
Overview

Artifact ID: db66a43c0e7298d03ef0b1edadb22d74c1d6d671
Ticket: 71bd5502ffc43a415862faaa707d1513b5bb32eb
Browser caching CSS and logo
User & Date: BMorgat 2010-07-16 08:59:35
Changes

  1. comment changed to:
    Hello,
    
    When using <tt>fossil ui</tt> on a repository, and then on <em>another one</em>, using same port, the logo and the stylesheet for the first repository are still in browser cache, and therefore the browser is not displaying what it should.
    
    Proposed workaround:
      *  Each time the logo or the stylesheet changes, compute its new SHA1 sum
      *  Embed URIs of this form in the HTML code: <tt>$baseurl/logo/{LOGO_SHA1SUM}</tt> or <tt>$baseurl/style.css/{STYLESHEET_SHA1SUM}</tt>
      *  On client side (browser) each logo and stylesheet will be cached, but every time a change is needed it is automatic
      *  On server side, optionally ignore the <tt>/SHA1SUM</tt> part in the URL, and always serve current logo and stylesheet as the previous ones are not stored.
    
  2. foundin changed to: "15b293259d"
  3. private_contact changed to: "277de4eda861e8a6d011b60d4006a963a4c7c474"
  4. severity changed to: "Minor"
  5. status changed to: "Open"
  6. title changed to: "Browser caching CSS and logo"
  7. type changed to: "Feature_Request"