How to enforce client loads newest theme.css?

We build the theme CSS on each deploy. How can we tell clients to ignore local cache, and load the newest /public/css/filament/admin/theme.css?
A
awcodesβ€’16d ago
are you not doing the theme through vite? it should be versioned if you are, which will break the cache.
DK
Dennis Kochβ€’15d ago
For custom themes Vite has cache-busting. For Filament assets: They should be versioned by the Filament version
M
mpietβ€’15d ago
No, no vite, because we only need some Tailwind customization as of now. We solved it in our build process: We append a query string with a placeholder that gets replaced by a timestamp on build. πŸ˜…
DK
Dennis Kochβ€’15d ago
Vite is so easy to setup with Laravel that I wouldn't mind setting up a different process πŸ˜…
Want results from more Discord servers?
Add your server
More Posts
What to use: Repeater or Key-valueI have checked the docs of both repeater and key-value form builder fields. I liked both. I am confReferenceError: selectedRows is not definedI have a custom filament page. Super simple: an infolist and a table ``` <x-filament-panels::page> Macro is not working when testing with PestHello all I am using this plugin https://github.com/outer-web/filament-translatable-fields and when Why the authenticate rateLimit &throttled not work ?Why the authenticate rateLimit &throttled not work ?TextColumn action->button not working as expected```php Tables\Columns\TextColumn::make('asdas') ->label('See 2 items') ->action( TabFilament resource not showing on websitei made a migration, model and now a resource i followed a tutorial to see how i can make a resource How to translate filament filepond placeholder?I've tried to find it in the vendor, but idk how to translate itFill Select on relationmanager creation formHow can i pre-fill parent relation selector on a create form on a relationmananger? On the Practice Help with github actionsI copied the workflow file from filament: ```yml name: phpstan on: push: pull_request: jobs: File upload preview green gradientHow do I remove the green gradient so that I can see the whole logo while uploading it ? ```<?php Export to Excel - sub folder does not get url correctly.My app referer to the sub directy as : domain.com/demo/meterbill -> link to public folder in LaravelHow I can create Form or Table in another classF.E I want to create another class with form or tableUpdate each repeater field 2 fields outside the repeaterI'm playing around with creating a invoice in Filament and I've created a form that has multiple fieCan't access User profile "isSimple:false" on Team tenantHi. Trying to get to User's profile (http://app.test/dashboard/profile) This works public funct