[TYPO3-english] PAGE in COA_INT?
    Loek Hilgersom 
    loek at netcoop.nl
       
    Wed May 14 22:40:01 CEST 2014
    
    
  
Hey Jacco,
On 14-05-14 18:53, Jacco van der Post wrote:
> I wonder which of these script has the best performance.
The advantage of my solution is that you just include it as cached content in 
Typoscript, because the line that TYPO3 generates doesn't change, it's just a 
link to a CSS file. The random thing is that the CSS file is not really CSS, but 
a PHP script that generates a tiny bit of CSS.
Of course if you have a directory with thousands of files, then even this tiny 
script will take a bit of time, but with just a few files in a directory it's 
pretty lightweight.
For optimal server-side performance you might be best of with a Javascript 
solution - then you'll send all possible filenames to the client and leave them 
to do the random bit.
Cheers,
Loek
    
    
More information about the TYPO3-english
mailing list