Skip to content

Commit

Permalink
docs: add PostgreSQL annoucement for new version
Browse files Browse the repository at this point in the history
16.3, 15.7, 14.12, 13.15, and 12.19
  • Loading branch information
kryskool committed May 9, 2024
1 parent 9021570 commit d7195e3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions source/_extra/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,43 @@ Redirect 301 /fr/1.0/services/societes.html https://5432.fr/services/societes.ht
Redirect 301 /fr/1.0/services/index.html https://5432.fr/services/index.html

Redirect 301 /fr/1.0/logiciel/index.html https://5432.fr/logiciel/index.html

<IfModule mod_headers.c>
<FilesMatch "\\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>

<FilesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>

<FilesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</FilesMatch>

<FilesMatch "\\.(x?html?|php)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</FilesMatch>
</IfModule>

## contrôle du cache navigateur - Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 7200 seconds"
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week"
AddType image/x-icon .ico
ExpiresByType image/ico "access plus 1 week"
ExpiresByType image/icon "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 7200 seconds"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
</IfModule>
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"announcement": """<a href="https://www.postgresql.org/about/news/postgresql-162-156-1411-1314-and-1218-released-2807/">Sortie de PostgreSQL 16.2, 15.6, 14.11, 13.14, et 12.18</a>""",
"announcement": """<a href="https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/">Sortie de PostgreSQL 16.3, 15.7, 14.12, 13.15, et 12.19</a>""",
"footer_icons": [
{
"name": "GitHub",
Expand Down

0 comments on commit d7195e3

Please sign in to comment.