Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nginx – Browser Caching aktivieren

Featured Replies

Moin,

ich habe da mal eine Frage zum Browser Caching.

Man kann das Browser Caching in den conf Dateien unter /etc/nginx/sites-available/ mit folgenden Befehl aktivieren.

location ~*  \.(jpg|jpeg|png|gif|ico|css|js)$ {
   expires 365d;
}

Das funktioniert wunderbar. Leider werden die conf Dateien durch den Cronjob wieder überschrieben.

Gibt es eine Möglichkeit das irgendwo fest zu hinterlegen, damit es automatisch in die neu generierten Dateien eingetragen wird?

 

NGINX 1.3.1

PHP5

0.9.38.7-1+wheezy1

 

Ich freue mich auf eure Antworten!

Silvio

7 hours ago, Silvio Thiess said:

Gibt es eine Möglichkeit das irgendwo fest zu hinterlegen, damit es automatisch in die neu generierten Dateien eingetragen wird?

Ja das Feld nennt sich: Eigene vHost-Einstellungen

Da kannst du sowas eintragen, wenn du als admin / reseller die domain bearbeitest (Kunden dürfen solche Einstellungen nicht vornehmen, da es sich direkt auf die config aufwirkt und ggfls der webserver nichtmehr startet)

  • Author

Vielen Dank für deine Antwort. Ich werde es heute Abend mal "testen".

Einen schönen Tag noch.

Silvio

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.