Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-07-2015, 01:34 AM   #1
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Wordpress/Cloudflare - how to purge one post?

hey guys,
anyone know how to purge one post?
to be precise: i need photos/thumbs to be purged.
exactly same problem have one dude here:
https://wordpress.org/support/topic/...are-file-purge
but finally he didn't get solution, maybe some of you who are familiar with php can do this?
it's a small piece of code that need to be tweaked and added to functions.php
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 02:59 AM   #2
WP-Script
Confirmed User
 
WP-Script's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 662
Have you tried this plugin? https://wordpress.org/plugins/cloudflare-cache-purge/
WP-Script is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 03:18 AM   #3
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
didn't tried any plugin, wanted to resolve this with some small php code but i'll look at your plugin once this topic will go down without more ideas.
thanks.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 08:36 AM   #4
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
from cloudflare.com or check their api;.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 08:50 AM   #5
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
  1. Login to Cloudflare
  2. Choose your site from the list
  3. Selecting the "Caching" Icon from the top menu
  4. Choose "Purge Individual Files"
  5. Paste the URL to your post in the provided text area
  6. Click the blue Purge button

That should do it. Worst case scenario is you'll need to "purge everything". Not sure if that's available on the free options, but on the paid it is.
__________________
NSFW
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 10:26 AM   #6
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by robwod View Post
  1. Login to Cloudflare
  2. Choose your site from the list
  3. Selecting the "Caching" Icon from the top menu
  4. Choose "Purge Individual Files"
  5. Paste the URL to your post in the provided text area
  6. Click the blue Purge button

That should do it. Worst case scenario is you'll need to "purge everything". Not sure if that's available on the free options, but on the paid it is.
yes , on free plan you can do purge everything.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 11:51 PM   #7
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
sorry guys but none of above will help me.
i know i can purge single file - doesn't work like i need it, i can paste post url it will be purged but it shows same thumbs in gallery as it was when post were created and i've ftp my own thumbs - in short: thumbs were not purged when i've purged post, doesn't work that way.

obviously purge all is not a solution at all i do not want to purge everything.

if any of you would check link i've pasted in first post, it's php code there to purge media/thumbs/images - can anyone check it and tweak?

if not i will just start testing plugins (wanted to avoid this..)
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2015, 11:58 PM   #8
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 24,800
You would need to purge thumbs individually I would assume - Also, I am sure you thought of this, but just in case. Have you deleted the thumbs in your local machine's cache?..
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2015, 12:00 AM   #9
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
the code from my link does exactly as you wrote - it's purging thumbs, just not manually, script does it.
if someone will figure out how to use it it could be good to use by everyone (who need it)
yes i've deleted cache.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2015, 02:48 AM   #10
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
tried purge plugin. no effect on thumbs.
seems that for purging thumbs i need to purge all - pretty shitty solution imo.
think i'll just write 2 months of posts in advance and purge all.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
post, purge, php, familiar, functions.php, tweaked, added, code, piece, finally, photos/thumbs, purged, precise, hey, guys, wordpress/cloudflare, dude, solution



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.