bmlt-enabled / fetch-jft

Just for Today Fetcher Wordpress Plugin
GNU General Public License v2.0
2 stars 0 forks source link

JFT is not updated at the beginning of the day. #10

Open Connected57 opened 2 years ago

Connected57 commented 2 years ago

Describe the bug

JFT does not update at the beginning of the day(12am PST). For example, today is March 13th and at 8am PST I checked JFT on my area website and it showed JFT for March 12th. I checked it again at 10am PST and it showed the correct JFT.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://naventuracounty.com/
  2. Click on '....'
  3. Scroll down on the home page to the JFT section before 9am PST and again after 10am PST.
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

I expect the JFT to start displaying at 12:00am PST not 10am PST

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

I accessed the WordPress dashboard and checked the timezone under Settings > General and it shows Los Angeles so it isn't a website timezone issue in my opinion.

screencapture-naventuracounty-wp-admin-options-general-php-2022-03-13-11_13_30.pdf

dgershman commented 2 years ago

Thanks. I'm a bit confused. There is no JFT feature in crouton. Did you mean the jft plug-in for Wordpress ?

Connected57 commented 2 years ago

My apologies Danny! I got the two confused. It's the JFT-Plugin. Do you know who I may contact for tech support with that plugin.

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Danny Gershman @.> Sent: Sunday, March 13, 2022 11:42:11 AM To: bmlt-enabled/crouton @.> Cc: Aaron Hodgson @.>; Author @.> Subject: Re: [bmlt-enabled/crouton] JFT is not updated at the beginning of the day. (Issue bmlt-enabled/fetch-jft#10)

Thanks. I'm a bit confused. There is no JFT feature in crouton. Did you mean the jft plug-in for Wordpress ?

— Reply to this email directly, view it on GitHub<bmlt-enabled/fetch-jft#10>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABH3H2GTALUR23JBMCY26LLU7ZAJHANCNFSM5QTVFCEA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

dgershman commented 2 years ago

No problem. I'm moving it for you.

alanb2718 commented 2 years ago

Could this be due to the server caching the page? The https://naventuracounty.com/ site is showing yesterday's JFT right now, but on a couple of other sites it's up-to-date. (Except https://www.crna.org/for-members/ which is March 12 .... hmm ...).

To test this, @Connected57 on your server could you flush any caches, and see what happens?

pjaudiomv commented 2 years ago

One of the issues that may be at play is that the plugin just scrapes the jftna.org site and i believe the jft gets updated around 10pm PST or sometime around there so there will def be times when its not right. My plan is to create a proper jft api, however when I reached out to naws they gave me permission to scrape the site. So I will either have to reach back out to naws and get permission to store the data in an api or get a service body to adopt and host the api. I have slowly been working on the pieces needed for this.

pjaudiomv commented 2 years ago

oh that is weird, yea crna.org is def caching it. I broke the cache and its updated https://www.crna.org/for-members/?v=3

pjaudiomv commented 2 years ago

if crna.org is using cloudflare they could probably add a no cache rule for that route

Connected57 commented 2 years ago

Hi Guys,

Sure, I will try tomorrow morning as the site is already showing today's JFT correctly. If you would like access to the site to help trouble shoot please let me know and I will create you a user account.

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: pjaudiomv @.> Sent: Monday, March 14, 2022 12:05:12 PM To: bmlt-enabled/fetch-jft @.> Cc: Aaron Hodgson @.>; Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

oh that is weird, yea crna.org is def caching it. I broke the cache and its updated https://www.crna.org/for-members/?v=3

— Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/fetch-jft/issues/10#issuecomment-1067182672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABH3H2AI366LVXKOBGMXCQ3U76EWRANCNFSM5QTWNORA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

Connected57 commented 2 years ago

Hey Guys,

This morning I checked the JFT on my area website and it was displaying the correct date on my computer. I called another addict and asked him to check his computer, it was showing yesterday's JFT. I then went and flushed the Managed WordPress Cache for the website and asked him to refresh his browser. After refreshing his browser, the JFT was correct, so I believe the issue is a website caching issue on my end. Do any of you know of a solution that I can implement to fix this problem?

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: AARON HODGSON @.> Sent: Monday, March 14, 2022 12:07:32 PM To: bmlt-enabled/fetch-jft @.>; bmlt-enabled/fetch-jft @.> Cc: Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

Hi Guys,

Sure, I will try tomorrow morning as the site is already showing today's JFT correctly. If you would like access to the site to help trouble shoot please let me know and I will create you a user account.

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: pjaudiomv @.> Sent: Monday, March 14, 2022 12:05:12 PM To: bmlt-enabled/fetch-jft @.> Cc: Aaron Hodgson @.>; Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

oh that is weird, yea crna.org is def caching it. I broke the cache and its updated https://www.crna.org/for-members/?v=3

— Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/fetch-jft/issues/10#issuecomment-1067182672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABH3H2AI366LVXKOBGMXCQ3U76EWRANCNFSM5QTWNORA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

Connected57 commented 2 years ago

Hey Guys,

Do you think a plugin that prevents a section of content (e.g. JFT) from being cached could resolve my issue? I found this plugin that does exactly that: https://wordpress.org/plugins/https://wordpress.org/plugins/content-no-cache/content-no-cachehttps://wordpress.org/plugins/content-no-cache//https://wordpress.org/plugins/content-no-cache/

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: AARON HODGSON @.> Sent: Tuesday, March 15, 2022 9:02:30 AM To: bmlt-enabled/fetch-jft @.>; bmlt-enabled/fetch-jft @.> Cc: Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

Hey Guys,

This morning I checked the JFT on my area website and it was displaying the correct date on my computer. I called another addict and asked him to check his computer, it was showing yesterday's JFT. I then went and flushed the Managed WordPress Cache for the website and asked him to refresh his browser. After refreshing his browser, the JFT was correct, so I believe the issue is a website caching issue on my end. Do any of you know of a solution that I can implement to fix this problem?

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: AARON HODGSON @.> Sent: Monday, March 14, 2022 12:07:32 PM To: bmlt-enabled/fetch-jft @.>; bmlt-enabled/fetch-jft @.> Cc: Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

Hi Guys,

Sure, I will try tomorrow morning as the site is already showing today's JFT correctly. If you would like access to the site to help trouble shoot please let me know and I will create you a user account.

Kind regards, Aaron H. Gold Coast Area Webmaster

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: pjaudiomv @.> Sent: Monday, March 14, 2022 12:05:12 PM To: bmlt-enabled/fetch-jft @.> Cc: Aaron Hodgson @.>; Mention @.> Subject: Re: [bmlt-enabled/fetch-jft] JFT is not updated at the beginning of the day. (Issue #10)

oh that is weird, yea crna.org is def caching it. I broke the cache and its updated https://www.crna.org/for-members/?v=3

— Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/fetch-jft/issues/10#issuecomment-1067182672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABH3H2AI366LVXKOBGMXCQ3U76EWRANCNFSM5QTWNORA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>