New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend_cache breaks WHMCS site.. #100

Closed
GoogleCodeExporter opened this Issue Apr 6, 2015 · 9 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Apr 6, 2015

If I enable the extend_cache option, the whmcs site's images and apparently CSS 
do not appear, and I only get an odd page.  If I disable the extend_cache in 
config, it works..

Original issue reported on code.google.com by tkalfao...@gmail.com on 18 Nov 2010 at 8:11

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

What's the WHMCS site?  http://www.whmcs.com/ ?

I made a local mirror of that site, at least its front page, and it looks fine 
to me including cache-extension.

Can you provide a URL or confirm that this is the site in question?

Also, can you provide the version number, e.g. the X-Mod-Pagespeed header?

Original comment by jmara...@google.com on 18 Nov 2010 at 1:06

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

the site is www.kalfaoglu.net and it runs on the WHMCS code..
if extend_cache is enabled, www.kalfaoglu.net does not appear right..

Original comment by tkalfao...@gmail.com on 18 Nov 2010 at 8:31

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Thanks tkalfaoglu, can you supply the X-Mod-Pagespeed version?

Original comment by jmara...@google.com on 18 Nov 2010 at 9:20

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

X-Mod-Pagespeed: 0.9.1.1-228



Original comment by tkalfao...@gmail.com on 19 Nov 2010 at 5:21

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

I have mirrored www.kalfaoglu.net and it works fine on my server with 
extend_cache.  My Apache server is serving files as static content, which 
likely differs from your server.

My suspicion is that there is some interaction with another Apache module or a 
configuration file conflict.  Could you provide your .conf files as an 
attachment to this bug, or mail them to us?

We'd love to track this down so we can work around the problem in our module.

Also, could you describe more precisely what the symptom is when extend_cache 
is on?  For example, just pick one of the images or CSS files that don't appear 
and identify it?

Could you also provide the error log from your Apache server; or a relevant 
snippet from it?

Thanks!

Original comment by jmara...@google.com on 19 Nov 2010 at 1:46

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

We have looked at this problem in some detail, and we believe this issue was 
fixed today with

http://code.google.com/p/modpagespeed/source/detail?r=232

We could reproduce issues with cache-extension on your site prior to that fix, 
and cannot reproduce problems with cache-extension with that fix.

Based on your version number it looks like you are compiling from the Trunk.  
Can you rebuild from the trunk again and let us know if this is fixed?


Original comment by jmara...@google.com on 19 Nov 2010 at 5:38

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Original comment by jmara...@google.com on 19 Nov 2010 at 11:28

  • Changed state: Fixed
@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

I just tried it again and got the same message. Maybe its a directory 
permission issue.. this is how www.kalfaoglu.net looks if I enable 
"extend_cache" filter:


Original comment by tkalfao...@gmail.com on 20 Nov 2010 at 7:07

Attachments:

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Sorry for the trouble.  The bug is fixed -- I can cache_extend a mirror of your 
site locally.  But I believe a stale value is in mod_pagespeed's cache which 
resides on the disk.

This is causing two of your CSS files, both named "style.css" but in different 
directories, to be assumed to be the same.  I carefully debugged the code 
running on my mirror of your site and it distinguishes them fine, but there 
used to be a bug in this code which would cause this aliasing.

If you flush your cache I'm hoping the problem will be solved for you too.  
These commands are for Debian/Ubuntu; you will have different paths on CentOS 
or another distribution:

  sudo mkdir /var/mod_pagespeed/cache.old
  sudo /etc/init.d/apachectl stop
  sleep 2   # allow time for apache to terminate
  sudo mv /var/mod_pagespeed/cache/* /var/mod_pagespeed/cache.old
  sudo /etc/init.d/apachectl start
  sudo rm -rf  /var/mod_pagespeed/cache.old

Original comment by jmara...@google.com on 20 Nov 2010 at 10:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment