Sonny Menajang wrote:
If I want to compress and I know the server supports mod_deflate, Wouldn't it be easier to just add
AddOutputFilterByType DEFLATE text/html text/xml text/javascript text/css application/x-javascript application/javascript
in the .htaccess?
ya your right but am talking about adding it in the template it self, to serve css and js files, faster, on compression, already some joomla website have this implemented in there website, so am just trying to help out RT Family, see if its an gud solution, i have in the past tried that function you posted didn't do much i have to move the .htacess to the css,js and or imgs directory, am only working on a different approach on compressing RT templates css,js,images, and components,etc for faster site load. anyone want to see my advance .htaccess file you can dl it here
xtrahype.webs.com/misc/htaccess1.txt
i was testing joomla 1.5.8 system plugin cache feature and it works like a charm also, site loads fast but still got an (F) in yslow, i got an (A) before but didn't document what i did, so am trying all solutions on having templates load faster. thanks for you guys insight and your ideas are greatly appreciated.