Partially overhauled content system's metadata handling, Fixed & Added tools, Added missing resources, Other minor fixes, Added index compiler

Update .gitignore, .htaccess, and 48 more files...
This commit is contained in:
2024-04-18 17:29:08 +02:00
parent be941fccca
commit 2827d6f8f6
51 changed files with 3102 additions and 220 deletions

View File

@@ -30,7 +30,8 @@ AddType text/typescript .ts
AddType text/javascript .js
AddType text/javascript .mjs
AddType application/wasm .wasm
AddType video/x-matroska mkv
AddType video/x-matroska .mkv
AddType text/css .css
# Correcting some default options for security and language/content redirection.
@@ -56,7 +57,7 @@ ErrorDocument 404 /error.php
# * https://www.a2hosting.com/kb/developer-corner/apache-web-server/turning-off-caching-using-htaccess
# Default: 12 hours
##Header set Cache-Control "max-age=43200, public, must-revalidate"
Header set Cache-Control "max-age=43200, public, must-revalidate"
# Static files: 1 Week
<FilesMatch "\.(?i:gif|jpe?g|png|ico|svg|woff2|ttf|woff|otf)$">
@@ -64,9 +65,9 @@ ErrorDocument 404 /error.php
</FilesMatch>
# Semi-static files: 1 Day
##<FilesMatch "\.(?i:css|js|mjs)$">
## Header set Cache-Control "max-age=86400, public, must-revalidate"
##</FilesMatch>
<FilesMatch "\.(?i:css|js|mjs)$">
Header set Cache-Control "max-age=86400, public, must-revalidate"
</FilesMatch>
# Disabling some caching rules for debugging
#Header set Pragma "no-cache"