Announcement

#1 2021-11-21 21:16:04

audioscavenger
Member
2021-11-08
15

how do you trigger a CSS refresh of combined css?

Hello/Hi/Greetings,

i am developing an existing plugin and noticed the css i edit never refresh
that's because piwigo serves a combined css called ./data/_data/combined/6dm4mt.css

how do i trigger a refresh?
restarting the container did not help, nor did purge compiled templates

Last edited by audioscavenger (2021-11-21 21:24:28)

Offline

 

#2 2021-11-22 00:50:54

Zentalquabula
Member
2014-05-10
217

Re: how do you trigger a CSS refresh of combined css?

Purge compiled templates will indeed empty combined js and css.

Your CSS may not be rendered, depending on a number of factors. Is it inline in the HTML code? Does it override previous definitions? You need to look in the web inspector to see what is going on.

Offline

 

#3 2021-11-22 02:30:56

audioscavenger
Member
2021-11-08
15

Re: how do you trigger a CSS refresh of combined css?

found the bug... as always: look for the obvious
cf-cache-status=HIT ==> cloudflare lol

the purge templates thingy worked after enabling dev mode

thanks guys

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact