PUBLIE : #PRODUIRE

**SPIP**

# Article validé

L’article "**#PRODUIRE** (https://www.spip.net/en_article6573.html)"
vient d’être publié par b_b.

* * *

## #PRODUIRE

jeudi 28 mai 2020 , par [jack](.././?page=auteur&id_auteur=593&)

The `#PRODUIRE` tag produces a static file from a dynamic CSS (.css.html)
or javascript (.js.html) template

The syntax of the `#PRODUIRE` tag is the same as that of #INCLURE
(https://www.spip.net/ecrire/?exec=article&id_article=2430) but produces
the result in a static file whose name it returns.

This then enables Apache to serve this static file directly, without having
to go through spip.php for each hit.

1. <link rel="stylesheet" type="text/css" href=" #PRODUIRE
{fond=css/macss.css,couleur=ffffff} " />

The file format is indicated by the file pre-extension : .css.html or
.js.html. Otherwise, it is html.

You can impose the format of the file with an additional argument
format=css or format=js passed as an argument.

— Envoyé par SPIP (https://www.spip.net/)

rubon199.jpg