Performance vs javascript + CSS

Responsive, suitable for any type of business, built for any needs elegant one-page Joomla template.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 07, 2013 1:48 am
Reply with quote
Report this post
Hi,

is it possible to replace all of gk css files for just one file? Can I do that for .js files to?

Thanks!
User avatar
Fresh Boarder

GK User
Wed Aug 07, 2013 7:42 am
Reply with quote
Report this post
Please just use CSS compression/JS compression feature which you can find under Template Advanced Settings. More you can find here Gavern 3.x – Advanced Settings
User avatar
Platinum Boarder

GK User
Fri Aug 09, 2013 1:57 am
Reply with quote
Report this post
My layout breaks and Image Show GK4 stops if I do that...
User avatar
Fresh Boarder

GK User
Mon Aug 12, 2013 9:44 am
Reply with quote
Report this post
Can I check your site ? Probably there are several JS conflicts.
User avatar
Platinum Boarder

GK User
Wed Aug 21, 2013 10:35 pm
Reply with quote
Report this post
I found the problem.
I made some security rules and one of those rules block to run php scripts inside all of my writable directories, include /cache.
When I had activated the css/js compression, the template creates a directory gk inside of /cache and creates files .css.php and .js.php inside it. My scripts was blocking it.
I change the configuration and my website is working, however, this change opens a security vulnerability.
Is it possible to use css/js compression and don't save .php scripts inside /cache?
User avatar
Fresh Boarder

GK User
Mon Aug 26, 2013 8:08 am
Reply with quote
Report this post
You can modify code in inside template/lib/framework/helper.cache.php and change file extensions but this files use gzip compression which means that server will always accept them as not CSS/JS files.
User avatar
Platinum Boarder


cron