Re: problème avec cache-js

RastaPopoulos <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 17/03/2021 à 15:39, Cerdic a écrit :
> Le JS aurait été statique, cela aurait obligé à se poser des questions et faire autrement, plus finement. 

+1, il faut toujours partir du principe que le JS doit être statique (ça doit être une méga méga exception, qu'il soit en squelette), et donc architecturer le code pour utiliser des infos utilisables en JS (data dans le HTML, etc, notamment)

-- 
RastaPopoulos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.