Commit Graph

11 Commits

Author SHA1 Message Date
Tim Donohue
83d24f8c21 Ensure "/reload/" (hard reload) path is included in SSR paths. 2025-01-31 14:34:35 -06:00
FrancescoMolinaro
17ecc592f3 Exclude search and browse from Angular SSR (#3709)
* [DURACOM-303] prevent possibly long-lasting search and browse calls in SSR

* [DURACOM-303] implement skeleton component for search results

* [DURACOM-303] add skeleton loader for search results and filters

* [DURACOM-303] minor restyle of skeleton for mobile

* [DURACOM-303] fix lint and tests

* [DURACOM-303] adapt tests

* [DURACOM-303] restyle skeleton, add filter badge skeleton

* [DURACOM-303] add loop for filters count

* [DURACOM-303] add grid layout, make SSR enabling configurable, minor restyle of skeletons

* [DURACOM-303] refactor param, add example of configuration

* [DURACOM-303] rename variable, minor code refactor

* [DURACOM-303] add override possibility with input

* [DURACOM-303] fix SSR check on template and on components missing the environment config. Add descriptive comment for skeleton component. Fix JS error on SSR.

* [DURACOM-303] refactor thumbnail's skeleton style
2025-01-23 10:16:12 -06:00
Alan Orth
5b3b3bfb9c Restrict SSR to paths in the sitemap
Because Angular SSR is not very efficient, after discussion with
the Google Scholar team we realized a compromise would be to only
use SSR for pages in the DSpace sitemap (and the home page).
2025-01-17 15:30:43 +03:00
Tim Donohue
ee174747c2 Disable inlineCriticalCss by default for better SSR performance 2024-04-15 16:13:41 -05:00
Giuseppe Digilio
d7d8067006 [DURACOM-247] Refactoring SSR configuration in order to align it with new nomenclature 2024-04-11 18:14:34 +02:00
Yury Bondarenko
917c36dbe7 ESLint: fix dangling commas 2023-06-27 17:19:58 +02:00
William Welling
3a4a10e453 set default env preboot to false
leaving production env to true
2022-03-14 08:26:22 -05:00
William Welling
b149cf2d77 afford production disable preboot 2022-02-25 09:51:04 -06:00
William Welling
4c46d9db2b refactor environment.prod.ts to environment.production.ts 2021-12-17 08:18:56 -06:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00