kduffey
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] posts with ?amp work, but not with /ampI’ve already read through that post. I don’t want to force ?amp pages. I want to use /amp. I’ve set this up on other sites and it works fine, and I can’t determine why it isn’t working here.
Also, this isn’t a page and there are no other query vars present. It’s a simple post.
Example (works): https://saturdaytradition.com/big-ten-football/3-best-bets-b1g-championship-odds-2018/?amp
doesn’t work: https://saturdaytradition.com/big-ten-football/3-best-bets-b1g-championship-odds-2018/amp/
any thoughts?
To follow up on the above, my database grew from 36mb to 1.2gb w/ the transient records.
Did you have any feedback on that? I’m just trying to help and also find out if i configured it incorrectly in some way? I like the functionality of the plugin but obviously this killed my server so I had to deactivate into further clarification.
Is there an easy way to delete these records with the plugin or do i need to do it manually in the database?
Ok thanks.
I think you should know that as a result, I’ve got 250,000 records in my options table now all with that transient prefix and it has killed my CPU usage b/c the options table gets read in by wordpress w/ each page view.
Is this an error w/ the plugin or did I set it up wrong?
prettyboymp:
Does the plugin use the wordpress options table to store data? Does it use records such as _transient_XXXXXXXXX?
My wordpress options table has gotten extremely bloated and I’m trying to clean it out and am trying to find where the records came from.
Let me know if you have any feedback. Thanks so much.
prettyboymp:
I successfully added a hook to clear the cache in the event of a new post. As such, wouldn’t it make sense to lengthen the expiration period of the cache blocks?
Is there any reason not to extend it to 20 minutes or so? Would it help performance?
I’m not caching comments so its all static content except when a new post is created which is taken care of by the hook.
ok, so we could basically cache our main page also which basically shows an image and excerpt for the last 20 or so posts, and add a hook to clear the cache upon a ‘save_post’ ?
Would that be what you would recommend?
Do the cached blocks get automatically re-freshed upon a new post being published? What are the triggers that force a refresh on the cached blocks?