There are some URL on my website that doesn't work when I use boost.

Examples:

http://www.sourcecodester.com/blog/free-hotel-management-system-manual.html
http://www.sourcecodester.com/blog/nc-iv-exams-confused.html

The two URL returns a page not found.

But some URL are working fine.

I am using the default settings of boost. Except for the gzip compression since shared hosting at hostgator doesn't support gzip compression.

Anybody know how to fix this?

Comments

alliax’s picture

I don't see 404 error in your urls, have you solved your problem with boost since i see in the source that they are boost cached pages?

Off-topic: you should have your css & js files consolidated in one, at the moment you have a lot of calls for several css files, that is also a performance issue.

jaypabs’s picture

Hi,

Thanks for the reply. Yes I have already solve the problem. The problem is on my shared hosting because it doesn't support gzip compression. After I upgraded to a VPS hosting the problem has gone.

>>Off-topic: you should have your css & js files consolidated in one, at the moment you have a lot of calls for several css files, that is also a performance issue.

What do you mean by this? Enable the "Optimize CSS files" and "Optimize JavaScript files"? Because I just followed the video tutorial on the internet and it says to disable those two option because it is not necessary. The video link is: http://gotdrupal.com/videos/drupal-performance-boost

Let me know if I need to enable those two option.

Thank you very much.

alliax’s picture

Well, for me it's a mistake not to optimize css files & javascript files.
I'm sure many people will agree with me and if you are still not sure about what is the ebst you could even write to the author of the video and asking him why he says that optimize css files needs to be disabled, there's no reason except if you're developping your site and editing the css often, so as to save you cache flush.
But once in production, I optimize css files and javascript files on all my sites, instead of 10+ hits I generate only one, much faster for everybody.

jaypabs’s picture

Thank you for your suggestion. I will enable it now.

AgentJay’s picture

Version: 6.x-1.18 » 6.x-1.21

I'm having the same issue using the latest version of boost.

If I clear the boost page cache the page works fine, but as soon as the cache is generated by boost all of the sites pages get a 'page not found' error.

but if I'm logged in everything works great.

bgm’s picture

Status: Active » Fixed

I haven't seen this bug recently, but I once had an issue where boost would generate a file such as "index.html.php" in the cache directory, and somehow it would confuse the htaccess.

Make sure your htaccess rules are up to date with the 6.x-1.21. I'm pretty sure it's a bug in the htaccess.

Otherwise, enable htaccess modrewrite log / loglevel and try to trace it (please don't copy-paste your log, it takes too much time to debug, but try to report your conclusions or the essential bits of it, might help to reproduce the error):
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog

Feel free to re-open the issue if necessary.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.