My site, as you may remember is very slow to load due to the amount of categories listed on the page. Would using the Generate HTML option help at all? It is only the main page www.accommodation-uk.net which is critically slow at about 15 seconds to fully load - but even the sub categories are around 8 seconds. I welcome your suggestions.
Hi Jill, that should have been www.accommodation-uk.net/wsn i am afraid I am in the process of swapping the scripts and since I posted I have swapped it back to the wsn folder as there's now something else I forgot to do!
But also you can try before generating html, to enable the cache system stating that generate cache for Guests and that A page cache will update on average every 1000 views, and will always update when more than 24 hours old.
Use the cache system at Admin -> Settings -> General. Plain HTML raises a lot of issues, I strongly recommend against using it to actually run a site (the only potential use is for distributing an offline copy, really).
I think the sheer amount of HTML in your category selector is affecting load times too. You might want to remove it from your wrapper template. Also your main page has more commented-out text than showing text I think, and all that hidden stuff slows processing. Like:
<!--IF 1><br />One of the most majestic county’s in England is Inverness-shire. Some of the England’s greatest battles were fought in the county, and Shakespeare’s Macbeth was also based on the various characters around town. With all of the accommodations that are available in the area, it comes as no surprise to many that there are also various places to stay. <br /> <br />Trying to locate the right place to stay while on holiday in the area is not difficult to do. There are places such as the West End Guest House, which is a holiday house that is preferred by those that visit the area. For those that may be looking for pet friendly and child friendly accommodation, a location such as the Craigerne House Hotel is another great location that many tourists will turn to for their holiday needs. <br /> <br />Inverness-Shire Fact: Inverness-shire is ranked as being the largest landmass in the Scotland area. <br /> <br />Editor’s Pick: The Columbia Hotel in Inverness-shire is close to many of the local shopping and tourist attractions. This hotel is well received by the tourists that stay there, as there are many special accommodations that the hotel gives to its customers, such as free continental breakfast.</IF-->
If you have your browser save the page as HTML, you can see that just the HTML -- even before the stylesheet, images, javascript and all that are called in -- is 213KB. A dialup modem user can never visit your site even if the script generated it instantly, because it takes them several minutes to download the page. You need to cut down your HTML. (Though mod gzip may help this a bit.)
That's interesting, I hadn't notoced that ALL of the category descriptions were shown on the main page code. How can I get rid of it but keep the description for the individual category pages?
But also you can try before generating html, to enable the cache system stating that generate cache for Guests and that A page cache will update on average every 1000 views, and will always update when more than 24 hours old.
Jez wrote: How can I get rid of it but keep the description for the individual category pages?
Remove it from the main index template but not from the display links in category template. I don't see what the point of having something there that you've commented out is no matter where it is though. What good is having invisible text?
Thanks. The caching works a treat and I have cleaned out some of the superflous stuff as well. The site now loads quite fast even without the caching
I have a new problem in as much as I have moved the site from a sub folder to the main directory and I am getting errors, see http://www.accommodation-uk.net/
I am also pretty sure that the .htaccess is not correct either as it still mentions the old folder - I attach.
I edited the config.php file to reflect the folder change. Any ideas please?
Check your file path to your attachments directory at Admin -> Settings -> System. It looks like you have have left off the trailing slash.
As for the .htaccess, go to Admin -> Settings -> SEO and resubmit the page to get it regenerated. If for some reason you're writing a manual .htaccess you'll have to change the rewritebase from /wsn/ to /.
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on HTML pages an option?
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Hi,
My site, as you may remember is very slow to load due to the amount of categories listed on the page. Would using the Generate HTML option help at all? It is only the main page www.accommodation-uk.net which is critically slow at about 15 seconds to fully load - but even the sub categories are around 8 seconds. I welcome your suggestions.
Jez
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Hi Jez
Actually it is extremely quick for me! In fact, far quicker than any of my sites! It must've loaded in about a second!
Jill
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Hi Jill, that should have been www.accommodation-uk.net/wsn i am afraid I am in the process of swapping the scripts and since I posted I have swapped it back to the wsn folder as there's now something else I forgot to do!
Jez
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Hello Jez,
For shure Generate Html would help a lot.
But also you can try before generating html, to enable the cache system stating that
generate cache for Guests and that
A page cache will update on average every 1000 views, and will always update when more than 24 hours old.
Best Regards
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Use the cache system at Admin -> Settings -> General. Plain HTML raises a lot of issues, I strongly recommend against using it to actually run a site (the only potential use is for distributing an offline copy, really).
I think the sheer amount of HTML in your category selector is affecting load times too. You might want to remove it from your wrapper template. Also your main page has more commented-out text than showing text I think, and all that hidden stuff slows processing. Like:
If you have your browser save the page as HTML, you can see that just the HTML -- even before the stylesheet, images, javascript and all that are called in -- is 213KB. A dialup modem user can never visit your site even if the script generated it instantly, because it takes them several minutes to download the page. You need to cut down your HTML. (Though mod gzip may help this a bit.)
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Hi paul,
That's interesting, I hadn't notoced that ALL of the category descriptions were shown on the main page code. How can I get rid of it but keep the description for the individual category pages?
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Hello Jez,
For shure Generate Html would help a lot.
But also you can try before generating html, to enable the cache system stating that
generate cache for Guests and that
A page cache will update on average every 1000 views, and will always update when more than 24 hours old.
Best Regards
Thanks peumus, I'll give that a try
Jez.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
How can I get rid of it but keep the description for the individual category pages?
Remove it from the main index template but not from the display links in category template. I don't see what the point of having something there that you've commented out is no matter where it is though. What good is having invisible text?
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Thanks. The caching works a treat and I have cleaned out some of the superflous stuff as well. The site now loads quite fast even without the caching
I have a new problem in as much as I have moved the site from a sub folder to the main directory and I am getting errors, see http://www.accommodation-uk.net/
I am also pretty sure that the .htaccess is not correct either as it still mentions the old folder - I attach.
I edited the config.php file to reflect the folder change. Any ideas please?
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Check your file path to your attachments directory at Admin -> Settings -> System. It looks like you have have left off the trailing slash.
As for the .htaccess, go to Admin -> Settings -> SEO and resubmit the page to get it regenerated. If for some reason you're writing a manual .htaccess you'll have to change the rewritebase from /wsn/ to /.