General discussion
files load in frontend

I want to know that the what are the files load by freichat 5.2.1 on the joomla frontend means i am using joomla 1.6 with jomsocial 2.2.3 joomsocial template & freichat 5.2.1 in template i am using its built in css & js compression currently i have not excluded any file so the chat is not showing correctly but when i disable js compression the chat bar is showing correctly so please tell me what are the files load by freichat s i can exclude it from compression so chat bar is showing correctly .You can see my chat bar currently at http://new.yedels.com

I want to know that the what are the files load by freichat 5.2.1 on the joomla frontend means i am using joomla 1.6 with jomsocial 2.2.3 joomsocial template & freichat 5.2.1 in template i am using its built in css & js compression currently i have not excluded any file so the chat is not showing correctly but when i disable js compression the chat bar is showing correctly so please tell me what are the files load by freichat s i can exclude it from compression so chat bar is showing correctly .You can see my chat bar currently at http://new.yedels.com
kapilsahu

there is only one file that is loaded.
freichat/client/main.php
I would not recommend you to use javascript compressors since these days most of the javascript is dynamically generated. You can configure your apache server to compress CSS & Javascript files automatically. This is much faster and safer too.

there is only one file that is loaded. freichat/client/main.php I would not recommend you to use javascript compressors since these days most of the javascript is dynamically generated. You can configure your apache server to compress CSS & Javascript files automatically. This is much faster and safer too.
Necessity is the mother of all inventions!

How to do that in the server can you explain me what setting i have to make in my server to compress css & javascript on the server & this setting will not afftect the working of joomla

How to do that in the server can you explain me what setting i have to make in my server to compress css & javascript on the server & this setting will not afftect the working of joomla
kapilsahu

Just read the article below, Its for Apache, but You will find the same for other servers by searching
http://www.askapache.com/htaccess/apache-speed-compression.html

Just read the article below, Its for Apache, but You will find the same for other servers by searching http://www.askapache.com/htaccess/apache-speed-compression.html
Necessity is the mother of all inventions!

the problem is still not solved can you tell me what are the files call or load by main.php on the website like any javascript like freichat.js or any one else please see my site
http://new.yedels.com username & pass is demo or demo1 you can see the effect of js compression on the chat by yourself & suggest which file i have to exclude from compression i can not disable compression because it increase our site speed too much.

the problem is still not solved can you tell me what are the files call or load by main.php on the website like any javascript like freichat.js or any one else please see my site http://new.yedels.com username & pass is demo or demo1 you can see the effect of js compression on the chat by yourself & suggest which file i have to exclude from compression i can not disable compression because it increase our site speed too much.
kapilsahu

i get it,
your site code looks like this,

<script src="/freichat/client/main.php" type="text/javascript"></script>


but it should have looked as follows,
<script src="/freichat/client/main.php?id=62&xhash=DSAAdaDasdSDas34CXVd" type="text/javascript"></script>


as you can see the GET parameters are missing,
compressing javascript from the PHP side is a very bad idea. as it eats on your existing resources required for a page to load.You will understand this when your website grows. You should let the webserver handle it.
the compression provided(Inbuilt but needs to be configured) by the webserver is equal to or may be more than what your js compression module/plugin does and without the side effects.


Thats the only file(main.php) which should be excluded.

i get it, your site code looks like this, &amp;lt;code&amp;gt; &amp;lt;script src=&quot;/freichat/client/main.php&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;/code&amp;gt; but it should have looked as follows, &amp;lt;code&amp;gt; &amp;lt;script src=&quot;/freichat/client/main.php?id=62&amp;xhash=DSAAdaDasdSDas34CXVd&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;/code&amp;gt; as you can see the GET parameters are missing, compressing javascript from the PHP side is a very bad idea. as it eats on your existing resources required for a page to load.You will understand this when your website grows. You should let the webserver handle it. the compression provided(Inbuilt but needs to be configured) by the webserver is equal to or may be more than what your js compression module/plugin does and without the side effects. Thats the only file(main.php) which should be excluded.
Necessity is the mother of all inventions!

Thank you for your answer & i like your support very much.So if i use server compression method then my site will load fast & there is less burden on my server according to you i will try to apply this on my server if i use server side js/css compression then i will not get the same problem what i am getting right now am i right that you are telling.
Once again thanks for your great support & give me a good advice.
You know too much about server also so you know something about hip-hop technology have you ever try it yourself in your project i read it spped the site & decrease server load & it is designed by facebook & release it open source . If you know something about it then please tell me .

Thank you for your answer &amp; i like your support very much.So if i use server compression method then my site will load fast &amp; there is less burden on my server according to you i will try to apply this on my server if i use server side js/css compression then i will not get the same problem what i am getting right now am i right that you are telling. Once again thanks for your great support &amp; give me a good advice. You know too much about server also so you know something about hip-hop technology have you ever try it yourself in your project i read it spped the site &amp; decrease server load &amp; it is designed by facebook &amp; release it open source . If you know something about it then please tell me .
kapilsahu

The current javascript/css compressor that you are using modifies existing HTML code.
yes if you use the webserver to handle the compression, it will be faster and won't mess up the existing HTML or JS code.

Hiphop simply converts PHP code to C++ which is compiled by g++ later on, use it only when you feel that the PHP runtime is not fast enough.

If you find that your site is going slow, use a profiler and start finding the possible bottlenecks.

The current javascript/css compressor that you are using modifies existing HTML code. yes if you use the webserver to handle the compression, it will be faster and won&#039;t mess up the existing HTML or JS code. Hiphop simply converts PHP code to C++ which is compiled by g++ later on, use it only when you feel that the PHP runtime is not fast enough. If you find that your site is going slow, use a profiler and start finding the possible bottlenecks.
Necessity is the mother of all inventions!

thanks for your answer i have understand everything except this you said that "If you find that your site is going slow, use a profiler and start finding the possible bottlenecks." what is profiler means what it does & what do you mean by start finding the possible bottlenecks

thanks for your answer i have understand everything except this you said that &quot;If you find that your site is going slow, use a profiler and start finding the possible bottlenecks.&quot; what is profiler means what it does &amp; what do you mean by start finding the possible bottlenecks
kapilsahu

thanks for your answer i have understand everything except this you said that "If you find that your site is going slow, use a profiler and start finding the possible bottlenecks." what is profiler means what it does & what do you mean by start finding the possible bottlenecks

thanks for your answer i have understand everything except this you said that &quot;If you find that your site is going slow, use a profiler and start finding the possible bottlenecks.&quot; what is profiler means what it does &amp; what do you mean by start finding the possible bottlenecks
kapilsahu
169
10
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft