[TYPO3-english] page.includeCSS with ? and some numeric value

Kay Strobach typo3 at kay-strobach.de
Fri May 27 16:36:20 CEST 2011


Hi,

the timestamp after the filename (querystring) ensures, that your user
always get the newest version of the file, even if you set up offensive
caching on your apache.


I would let the querystring where it is. There is also a setting where
you can move it into the path before the css and after the css.

Regards
Kay


Am 27.05.2011 15:58, schrieb Sinisa Mitrovic:
> Hi all,
> 
>  
> 
> I included my CSS like this:
> 
>  
> 
> page.includeCSS {
>   file1 = fileadmin/templates/css/style.css
>   file2 = fileadmin/templates/css/prettyPhoto/css/prettyPhoto.css
> }
> 
> And in source of my page I get:
> 
>  
> 
> <link rel="stylesheet" type="text/css"
> href="typo3temp/stylesheet_fad97d0aa7.css?1306495609
> <view-source:http://local.typo3-44/typo3temp/stylesheet_fad97d0aa7.css?13064
> 95609> " media="all">
> <link rel="stylesheet" type="text/css"
> href="fileadmin/templates/css/style.css?1306499945
> <view-source:http://local.typo3-44/fileadmin/templates/css/style.css?1306499
> 945> " media="all">
> <link rel="stylesheet" type="text/css"
> href="fileadmin/templates/css/prettyPhoto/css/prettyPhoto.css?1306495691
> <view-source:http://local.typo3-44/fileadmin/templates/css/prettyPhoto/css/p
> rettyPhoto.css?1306495691> " media="all">
>  
> So, my question is how to remove ?1306499945 from links?
>  
> Regards
> Siniša Mitrović
> 
>  
> 


-- 
http://www.kay-strobach.de - Open Source Rocks


More information about the TYPO3-english mailing list