GitHub user mike-jumper opened a pull request:

    https://github.com/apache/incubator-guacamole-website/pull/47

    Add cache-busting checksum to main.css link in head.

    Recent changes from #46 revealed that the website CSS is cached much more 
thoroughly than the page contents, and returning users will tend to see new 
website content rendered with old styles. In the case of #46, this means the 
new dropdowns don't render correctly and the menu is absolutely full of links.
    
    This change adds a Jekyll plugin which defines a Liquid filter for 
producing a unique checksum for a file (in this case using MD5). The `<link>` 
tag which points to the CSS has been modified to invoke this filter to append a 
query parameter which will change if and only if the CSS file contents change.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/incubator-guacamole-website 
cache-bust

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-guacamole-website/pull/47.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #47
    
----
commit 2e7f6f4622a4a76dba8ac415e3b4d20728760b10
Author: Michael Jumper <mjum...@apache.org>
Date:   2017-08-05T19:12:15Z

    Add cache-busting checksum to main.css link in head.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to