Hi Folk
I am an absolute beginner....
I have a script of 30Kb, which is mainly comments (i.e. //..... and /*
......*/)
Should I strip these out and make the script 10Kb (I use it on every page in
my site)?
If so, how do I do that using a regular expression in Notepad2 (amazing
editor!!!) (sorry, but I have no idea)
Thank you
- Nicolaas 4 1144
windandwaves wrote: I have a script of 30Kb, which is mainly comments (i.e. //..... and
/* .....*/)
30 kb is NOT a large script. Especially given the fact that it's
mostly comments.
Should I strip these out and make the script 10Kb (I use it on every page in my site)?
You don't have to if you don't want to...
Cheers,
NC
NC wrote: windandwaves wrote: I have a script of 30Kb, which is mainly comments (i.e. //..... and /* .....*/)
30 kb is NOT a large script. Especially given the fact that it's mostly comments.
Should I strip these out and make the script 10Kb (I use it on every page in my site)?
You don't have to if you don't want to...
Cheers, NC
Thank you for your reply
Is it still the case if each page accesses it (e.g include_once({30kb}...))
? I have an average of 500 visitors per day so at peak times, it may get
busy. Each page requires about 100Kb of script on average, so I thought it
may make a little difference if I take out 20Kb per hit.
Let me know if I am overly excited about speeding it up...
Thank you once moer for your reply
- Nicolaas
I noticed that Message-ID: <42********@clear.net.nz> from windandwaves
contained the following: Is it still the case if each page accesses it (e.g include_once({30kb}...)) ? I have an average of 500 visitors per day so at peak times, it may get busy. Each page requires about 100Kb of script on average, so I thought it may make a little difference if I take out 20Kb per hit.
But it won't be /serving/ that data, will it?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Geoff Berrow wrote: I noticed that Message-ID: <42********@clear.net.nz> from windandwaves contained the following:
Is it still the case if each page accesses it (e.g include_once({30kb}...)) ? I have an average of 500 visitors per day so at peak times, it may get busy. Each page requires about 100Kb of script on average, so I thought it may make a little difference if I take out 20Kb per hit.
But it won't be /serving/ that data, will it?
No, actual page sizes can be between 5Kb and 50Kb (and more for some...)
Nicolaas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: writeson |
last post by:
Hi all,
I helped one of my co-workers put together an XMLRPC Python script that
allowed him to get database data from remote machines. This was done
because the source of the data could be...
|
by: WinstonSmith |
last post by:
Hello everyone,
I got a problem about GC when creating large fields (some MB), set reference
to null and call GC.Collect. Not all virtual mem is released. Situation
improved in .net 1.1 but not...
|
by: Jonas Smithson |
last post by:
I've seen a few attractive multi-column sites whose geometry is based
on pure CSS-P, but they're what you might call "code afficionado"
sites, where the subject matter of the site is "coding...
|
by: Christopher Benson-Manica |
last post by:
We have a fairly large (1500 line) .js file that contains script that
most of our pages use. My personal opinion is that this is not
easy to maintain, but others are concerned that with the script...
|
by: marco.avidano |
last post by:
I'm asking: for the PHP parser, it's better to create one large file
with all the code inside or a lot of small files?
Can a large file slow down the execution of the script?
|
by: hungryblank |
last post by:
I'm having troubles with a script that uses the get_payload function.
My script just works perfectly if I use it with attachment up to 8 Mb.
If the attachment are more than 8 Mb large, the script...
|
by: RC |
last post by:
Dear Dudes,
I post this in multiple groups for opening brain storm.
Sometime I need to query the data from database server then display them
into user's browser in HTML <table>. But if the...
|
by: mike |
last post by:
I help manage a large web site, one that has over
600 html pages... It's a reference site for ham radio
folks and as an example, one page indexes over
1.8 gb of on-line PDF documents.
The site...
|
by: neovantage |
last post by:
Hey all,
I need to upload files which are large in size. Though there are 2 fuunction which set the max upload file size and increasing the execution time of the script at run time but is there any...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |