Date: prev next · Thread: first prev next last
2026 Archives by date, by thread · List index


Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> writes:

the button has not been removed, you are just facing a style caching 
issue. Press Ctrl+F5 on your keyboard to hard refresh the page and all 
its styles.

I’m not a web expert, but as far as I understand it’s not really good
practice to change the contents of a CSS file like this. I see that the
max-age for the cache control in the HTTP reply for the CSS is set to a
week, so every time you modify the HTML in a way that depends on also
updating the CSS the website will look broken to most people for a week.

Have you thought about the changing the filename of the CSS when you
change the contents? Some people even encode an MD5 hash of the contents
into the filename so that you never have to worry about caching. It
looks like Hugo has some builtin support for this:

https://johnjago.com/cache-busting-hugo/

Regards,
– Neil

-- 
To unsubscribe e-mail to: website+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/website/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.