File Strings to Not Page Cache

This topic contains 15 replies, has 4 voices, and was last updated by  wasanajones 9 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #28598

    wasanajones
    Buyer
    Post count: 180

    poked around but could not find info on this

    GeoDirectory Docs “Dos and Don’ts” says not to use page caching.

    For innumerable reasons our sites must have caching. We use WP Super Cache. They allow entering “file” strings to exclude from caching.

    Can you provide a list of strings we can set not to be cached? We have subscribed to all Add-Ons as well if those apply.

    I imagine a lot of users would benefit from this information.

    Thanks

    #28607

    Guust
    Moderator
    Post count: 29970

    That is why GD Booster was developed, it is a caching plugin specifically designed for GD: https://wpgeodirectory.com/addons/gd-booster/

    #28619

    wasanajones
    Buyer
    Post count: 180

    specifically designed for GD

    but…

    GD was developed as a plugin to make it more practical to add a robust directory to other themes running a lot of other plugins

    GD Booster is not appropriate for sites that do a lot more than just what Geodirectory does…

    there are only two plugins that can handle it, WP Super Cache and W3 Total Cache

    there is a lot more going on than just the geodirectory plugin

    those strings would be very practical and useful to have, most people are not aware of the do’s and don’ts and I’ve seen a bunch of support issues that go back to the page caching issue, so it would behoove Everyone to address this issue appropriately

    #28627

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Unfortunately it’s not just a case of strings, we use $_SESSIONS to store data and this can change what is displayed on the page, so there is not a universal set of string that will help here.

    Stiofan

    #28634

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    GD Booster is not appropriate for sites that do a lot more than just what Geodirectory does…

    why do you say this?

    GD Booster is the combination of quick cache and css/js booster, 2 excellent caching plugins, modeded to be able to handle GD out of the box, but it doesn’t just cache GD, it does cache everything about your website.

    IMHO it’s equivalent if not better than both w3tc and wp super cache.

    Definitely less bloated and there isn’t anything it can’t do compared to the 2 above.

    Thanks

    #28718

    wasanajones
    Buyer
    Post count: 180

    I think Super Cache only needs a partial string to not cache the URLs, but that would require testing, maybe $ is enough

    If GD Booster does all I need I’d be stoked. and while I appreciate lightweight, I’m not sure it does

    How does GD Booster handle Push CDN moving multisite uploads folder to CDN?

    I’m sure you’d agree that moving the uploads folder (with year/month intact) to CDN is the smart approach, especially if the multisite network includes things like BuddyPress and blogs in addition to director(ies).

    SuperCache also has option not to cache SSL pages

    #28755

    Paolo
    Site Admin
    Post count: 31206

    Currently GD Booster doesn’t handle CDN, but you could use WP Super Cache just for that and leave GD Booster take care of caching and minifying.

    Otherwise you would have fast loading images, but all GD pages would be un-cached.

    Thanks

    #28768

    wasanajones
    Buyer
    Post count: 180

    that sounds workable, thanks

    #28796

    wasanajones
    Buyer
    Post count: 180

    quick follow-up for those interested.

    I decided to listen to wisdom and activated GD Booster and deleted WP Super Cache completely and went for AWS S3 and Cloudfront using https://wordpress.org/plugins/amazon-s3-and-cloudfront/

    Amazon is surprisingly bad at explaining things and not intuitive in the IAM Manager – but muddled through without too much hassle. if you already have S3 account it is pretty fast and easy to setup using S3 for wp-content uploads folder.

    might Not be suitable for existing sites however because while I did manage to get the GD dummy data images to upload to S3 using Regenerate Thumbnail, the existing listings are using images pulled from the local media library. there are mixed results on the wp plugin support forum about this

    could be that the plugin didn’t know where to go to update the image source for the listings, might be possible to do a DB edit or something like Search and Replace (proceed with caution) – but not an issue on new sites, and old listings still work, just not provisioned from AWS/CDN

    I haven’t activated cloudfront yet, but believe it will be painless pulling from S3

    I’ve got WP Smush It so hopefully that will help optimize user updated media as it loads

    I’m also still using Cloudinary when possible on article posts etc – free for moderate usage with good performance, and they offer a lot of wizardry too

    if you could figure out how to integrate GeoDirectory with Cloudinary media library, that would be smokin’

    #28800

    wasanajones
    Buyer
    Post count: 180

    posted my boast a bit premature

    the AWS S3 and Cloudfront plugin is moving copies of images to S3 but it isn’t changing the img src URLs in custom post types…

    #28846

    Paolo
    Site Admin
    Post count: 31206

    Have your tried MaxCDN? I don’t know if it is as good (many say it is) and it is definitely cheaper…

    Let us know,

    If it works we could fork it and integrate it in GD Booster…

    #28852

    wasanajones
    Buyer
    Post count: 180

    Hi – while MaxCDN isn’t a bad suggestion, I’m not sure they are actually cheaper – for CDN they charge a flat $9/month for 100GB, Cloudfront is at .085/GB
    for storage MaxCDN’s at $9.95/10GB while S3 is at .03/GB but you pay for transfers/requests

    the Amazon S3 and Cloudfront with Amazon Web Services plugin appears to work pretty well and was relatively easy to setup although AWS IAM Manager is not intuitive for anyone not familiar with it.

    I need to get GeoDirectory setup and then process some new listings to test but not sure the plugin is going to be able to find/change the image src – but I bet you guys could tweak things to work

    Cloudinary would be great because it is all free until you get a lot of usage but there are ways to get free upgrades. they also have cool tools for image manipulations and even automatic screening of parameters which would make a lot of sense for user uploaded media etc

    http://cloudinary.com/blog/centralized_control_for_image_upload_image_size_format_thumbnail_generation_tagging_and_more

    Regards,

    #28853

    Paolo
    Site Admin
    Post count: 31206

    ops, I must have read about old prices.

    I’m not a CDN expert at all, the only one i ever used (if it can be considered a CDN) is cloudflare.com which does a pretty good job for what we needed, it’s free and the setup took 2 minutes.

    I’ll have a look at cloudinary.com

    Thx

    #28855

    Paolo
    Site Admin
    Post count: 31206

    I’m sure you know, but for anyone esle reading, With Cloudflare you don’t save on your storage space because you keep uploading to your server. What they do is they cache every static element of your website and serve it from their datacenters instead that from your server, reducing bandwith use and doing also a pretty good job against bots and spammers.

    Thx

    #28859

    wasanajones
    Buyer
    Post count: 180

    I am a big Cloudflare fan, but Cloudinary does seem to serve images a lot faster.

    for the directory stuff it might be really helpful because you could go to the Cloudinary Media Library and edit images without re-uploading/changing URL etc.

    say you notice images that are not optimized or sized wrong etc – you can crop and optimize

Viewing 15 posts - 1 through 15 (of 16 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount