Search…

X3 Photo Gallery Support Forums

Search…
 
agjimmy69
Topic Author
Posts: 10
Joined: 13 Dec 2017, 12:34

Personal css - include css - bug or error

20 Jan 2026, 07:39

Hello,
I'm using custom CSS files via custom/files/css/mycss.include.css.

Why is it that when I modify a property of a class or ID, if I replace the file with a new one with the same name, it doesn't work?
The modified property isn't implemented and remains with the old value, even after clearing the cache.
This only works if the file name is changed.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Personal css - include css - bug or error

20 Jan 2026, 21:11

If you do change the file, and that file loads into browser (which it clearly must do), and modified properties don't apply, this means the old file is cached. X3 actually has a built-in workaround for this, but it does require you to click "save" in panel, so that it clears the actual X3 page cache. In this case, it will then append a date behind the file request "?MODIFIEDTIME".
even after clearing the cache.
What cache are you clearing though? The CSS would be stored in your browser cache (X3 itself can't/doesn't cache any CSS). And even if you clear your browser cache, depending on your server, the request itself could be cached on a proxy (like Cloudflare, if you are using that).

Please click "save" from panel, every time you edit/upload a modified CSS file. This should work. Otherwise, you would need to send me exact details and links to the CSS files, and tell me what classes are not applying.
 
agjimmy69
Topic Author
Posts: 10
Joined: 13 Dec 2017, 12:34

Re: Personal css - include css - bug or error

21 Jan 2026, 03:04

Thank you for your explanation; it is indeed the browser cache. Since I'm testing locally with Winamp, clearing the browser cache does resolve the issue.