Skip to content

Commit

Permalink
prevent caching on the datagrid
Browse files Browse the repository at this point in the history
  • Loading branch information
benlower committed Apr 17, 2024
1 parent 2056e72 commit 28556de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/src/components/DataGrid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Import the necessary CSS for AG Grid
import 'ag-grid-community/styles/ag-grid.css';
import 'ag-grid-community/styles/ag-theme-quartz.css';
// Set cache headers to prevent caching
Astro.response.headers.set('Cache-Control', 'no-cache');
---
<style>
.ag-theme-quartz {
Expand Down

0 comments on commit 28556de

Please sign in to comment.