Projekt

Allgemein

Profil

Aktionen

GX-Feature #69226

geschlossen

Prevent the CSS compiler from being called multiple times when the shop has too many simultaneous access

Von Alexandre Ataides vor mehr als 2 Jahren hinzugefügt. Vor etwa 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Marvin Muxfeld
Kategorie:
Frontend
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
Unbestimmt
Release Notes Langtext:

Die Datei `dynamic_theme_style.css.php` wird nun gesperrt, sobald sie die CSS-Dateien für das Theme kompiliert.


Beschreibung

Problem:
When a shop has a lot of simultaneous access and meanwhile the shop owner is adding/updating/deleting some information of his shop, the dynamic_theme_style.css.php (responsible for compiling the CSS of the theme) is called multiple times, increasing the page load time of the shop.

Goal:
We should prevent that the CSS compiler runs on every call.
We need to lock the dynamic_theme_style.css.php file until the new CSS is compiled/generated.

How to test:

  1. Apply attached patch (optional)
  2. Open 2 browser tabs, side by side with the DevTool open (Network tab and filter by CSS)
  3. Delete only the cache/__dynamic.css file and call the shop
    1. First tab: CSS should be served with the dynamic_theme_style.css.php
    2. Second tab: CSS should be served with the main.css/main.min.css
  4. Delete only the public/theme/main.css or public/theme/main.min.css file and call the shop
    1. Both tabs: CSS should be served with the dynamic_theme_style.css.php
    2. The second tab should wait until the dynamic_theme_style.css.php file of the first tab is loaded
  5. Delete cache/__dynamic.css and public/theme/main.css or public/theme/main.min.css files and call the shop
    1. Both tabs: CSS should be served with the dynamic_theme_style.css.php
    2. The second tab should wait until the dynamic_theme_style.css.php file of the first tab is loaded

Dateien


Aktionen #1

Von Lennard Kläfker vor mehr als 2 Jahren aktualisiert

  • Priorität wurde von Normal zu Dringend geändert
Aktionen #4

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #5

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
Aktionen #6

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

  • Zugewiesen an Alexandre Ataides wurde gelöscht
Aktionen #7

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

  • Zielversion wurde von 133 zu 4.5.1.0 beta3 geändert
Aktionen #8

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

Aktionen #9

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

Aktionen #10

Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert

  • Thema wurde von Prevent the CSS compiler from being called multiple times when the store has too many simultaneous access zu Prevent the CSS compiler from being called multiple times when the shop has too many simultaneous access geändert
Aktionen #11

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Zugewiesen an wurde auf Moritz Bunjes gesetzt
Aktionen #12

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Zugewiesen an Moritz Bunjes wurde gelöscht
Aktionen #13

Von Marvin Muxfeld vor mehr als 2 Jahren aktualisiert

  • Zugewiesen an wurde auf Marvin Muxfeld gesetzt
Aktionen #14

Von Ahmed Hamouda vor mehr als 2 Jahren aktualisiert

  • Zugewiesen an wurde von Marvin Muxfeld zu Ahmed Hamouda geändert
Aktionen #15

Von Marvin Muxfeld vor mehr als 2 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
  • Zugewiesen an wurde von Ahmed Hamouda zu Marvin Muxfeld geändert
Aktionen #16

Von Moritz Bunjes vor etwa 2 Jahren aktualisiert

  • Tags 4.5.1.0_beta3 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF