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-
AuthorPosts
-
January 23, 2015 at 5:44 am #28598
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
January 23, 2015 at 12:21 pm #28607That is why GD Booster was developed, it is a caching plugin specifically designed for GD: https://wpgeodirectory.com/addons/gd-booster/
January 23, 2015 at 1:57 pm #28619specifically 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
January 23, 2015 at 3:29 pm #28627Unfortunately 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
January 23, 2015 at 4:00 pm #28634Hi,
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
January 24, 2015 at 12:37 pm #28718I 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
January 24, 2015 at 8:07 pm #28755Currently 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
January 25, 2015 at 3:16 am #28768that sounds workable, thanks
January 25, 2015 at 6:26 pm #28796quick 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’
January 26, 2015 at 6:02 am #28800posted 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…
January 26, 2015 at 5:07 pm #28846Have 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…
January 26, 2015 at 5:37 pm #28852Hi – 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/requeststhe 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
Regards,
January 26, 2015 at 5:42 pm #28853ops, 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
January 26, 2015 at 5:45 pm #28855I’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
January 26, 2015 at 6:01 pm #28859I 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
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket