Timeline for How can I add a timestamp to my CSS file and preload the file?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 18, 2023 at 11:19 | vote | accept | Gillian | ||
Apr 18, 2023 at 11:19 | comment | added | Gillian | Of course. I added my comment in case anyone else tried and had the same difficulty I did and could see why. I'll accept your answer. | |
Apr 18, 2023 at 11:13 | comment | added | Zollie | @Gillian - Sure, for me both of my examples work without any problem. But the question was about how to add timestamp and attributes to stylesheet links… | |
Apr 18, 2023 at 10:47 | comment | added | Gillian |
Thanks. I tried this several times unsuccessfully, but then I removed ->useStyle('template.mytemplate') from $wa->useStyle('template.mytemplate') ->useStyle('template.user') ->useScript('template.user'); it worked. I think in Cassiopeia the equivalent is >usePreset('template.cassiopeia.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr'))
|
|
Apr 15, 2023 at 13:25 | history | edited | Zollie | CC BY-SA 4.0 |
added 502 characters in body
|
Apr 15, 2023 at 8:27 | history | edited | Zollie | CC BY-SA 4.0 |
deleted 3 characters in body
|
Apr 15, 2023 at 7:58 | history | answered | Zollie | CC BY-SA 4.0 |