Forum Replies Created

Viewing 10 replies - 46 through 55 (of 55 total)
  • Thread Starter dennis8

    (@dennis8)

    Ok thanks, I will try some debugging once I reinstall the plugin. When I did debugging in supercache nothing erroneous was reported though.

    Btw, why is it actually necessary to delete cached pages periodically? Why not keep them indefinitely, and only have them clear once a post gets updated or commented on?

    Thread Starter dennis8

    (@dennis8)

    LOL, I guess those “random folders” are just visitors accessing these pages. But that doesn’t explain why no folders are generated for the pages that I load…?

    Thread Starter dennis8

    (@dennis8)

    I was able to find an enforce www-plugin (“Extended Options”) and activated that feature. However it didn’t change a thing with supercache. Still slow loading and still random folders. This is driving me nuts!

    Thread Starter dennis8

    (@dennis8)

    Ok, forget about the homepage even. No matter how I tweak the htaccess nothing seems to work. Please take a look at my current mod rewrites and tell me if there’s something wrong:

    RewriteEngine on

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://usbmemorysticks.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://usbmemorysticks.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.usbmemorysticks.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.usbmemorysticks.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.swivel.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.swivel.com$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ – [F,NC]
    RewriteRule ^find-kanguru-memory-sticks$ kanguru-flash-drives [R=301,L]
    RewriteRule ^find-corsair-memory-sticks$ corsair-flash-drives [R=301,L]
    RewriteRule ^find-patriot-memory-sticks$ patriot-flash-drives [R=301,L]
    RewriteRule ^find-usb-bacon-and-chicken-memory-sticks$ /find-usb-bacon-and-chicken-flash-drives [R=301,L]
    RewriteRule ^category/flash-drive-designs-specialities$ /category/cool-flash-drives [R=301,L]
    RewriteRule ^find-transcend-memory-sticks$ /category/transcend-flash-drives [R=301,L]

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I went so far as to delete everything from above “# BEGIN WPSuperCache” as well as below “# END WPSuperCache”. But whatever I changed in htaccess the caching still didn’t work. For some reason I’m thinking that the problem could be of the “enforce www” kind but since I’m using WordPress 2.7 I shouldn’t need that plugin. (Looks like that plugin isn’t available anymore anyway) The only other thing I could think of is the permalink structure of my blog – its set to /%postname%.

    Btw, I also started the debugging log but it doesn’t list any errors. It only shows that the meta files were created for this or that page yet these pages loaded extremely slow when the cache was first generated. After that they loaded fast. From what I understand though these cached pages expire after an hour so this really doesn’t help me a lot, right?

    Thanks for any feedback and help.

    Thread Starter dennis8

    (@dennis8)

    Ok, call me a doofus. I just figured to rewrite the htacces via the settings page for supercache. And it worked! It succesfully wrote the rules. For some reason I thought this would already happen automatically by just turning supercache on.

    NOW – my homepage loads fast. BUT – for some reason my individual posts still load slow. Whats the reason for this? And here I thought I finally got it all to work out….

    Thread Starter dennis8

    (@dennis8)

    I also just tried switching compression on & off. It doesn’t make a difference. I’m quite baffled…

    Maybe there’s a conflict with a plugin? Heck, maybe one is causing the slow loading in the first place….these are the ones I have installed:

    AddThis – Social Bookmarking Widget
    Akismet
    Another WordPress Meta Plugin
    Collapsing Categories
    commentluv
    CyStat
    Enhanced WP-ContactForm
    Favicon Manager
    NextGEN Gallery
    NoFollow Free
    Redirection
    SEO Title Tag
    Technorati SimpleTags
    TinyMCE Advanced
    WordBay
    Wordpress Gravatars

    Thread Starter dennis8

    (@dennis8)

    Well, judging from the time stamp in the page source super cache is working. However, the loading time is still pretty long, also when I test it with pingdom. The cached page usually doesn’t load faster than 10 seconds – clearly thats lame, right? I’m suspecting that maybe my plethora of images are to blame for that, especially as they’re placed as links and not link to the images themselves…?

    Could you guys do me a favor and check if my site loads fast for you? Its http://www.usbmemorysticks.net. Thanks!

    Btw, do I understand it correctly that once every hour (3600 sec) each page has a new cache of itself generated, causing a slow loading for that time? Why would that be necessary?

    Thread Starter dennis8

    (@dennis8)

    I doubt there’s an error on my servers side because like I said they actually recommended supercache to me plus when they checked they assured me the server has been working just fine.

    So if I go through the trouble and load every single page on my end that means it will then have cached versions of them – and these will subsequently be served to my visitors, right? If it takes a while for every page while I first cache them oh well – main thing is my visitors get fast loading times after that.

    Thread Starter dennis8

    (@dennis8)

    Thnks for the fast reply, donncha!
    I have just enabled the caching and banners and the like seem to be doing just fine. However I’ve noticed that the first loading of a single page takes longer now than before. After that however re-loading the same page is very fast. Is this normal? Does this mean every user will at first encounter a slow loading?

    Thread Starter dennis8

    (@dennis8)

    Ignore 4, I just talked to hostgator customer service and they told me its installed on their server. [Duh, why else would they recommend supercache to me? ;-)]

Viewing 10 replies - 46 through 55 (of 55 total)