Cache plugin
Quote from Erenbur on June 18, 2019, 7:52 amThomas, hello! Have you tested the forum with some cache plugin? I just have a problem with the Hyper Cache plugin:
https://wordpress.org/plugins/hyper-cache/
It caches the forum’s main page on a mobile phone and when a new message is added to the forum from a computer, the page is not updated on the mobile phone. Also it is not visible that the new message is added.
I tried all the settings, tried to disable caching the main page of the forum – it does not help. Need a cache plugin that is tested for correctness of working with the forum.
Thomas, hello! Have you tested the forum with some cache plugin? I just have a problem with the Hyper Cache plugin:
It caches the forum’s main page on a mobile phone and when a new message is added to the forum from a computer, the page is not updated on the mobile phone. Also it is not visible that the new message is added.
I tried all the settings, tried to disable caching the main page of the forum – it does not help. Need a cache plugin that is tested for correctness of working with the forum.
Quote from Erenbur on June 18, 2019, 8:49 amDisconnected the cache plugin, in parallel one more nuance found. If I assign the title “Last Modified” to the forum pages, then the updating of the homepage on the mobile phone is correct. If I add the “If-Modified-Since” header, then when adding a new message on the computer, on the mobile phone the main page is not updated and it is not visible that a new message has appeared.
Disconnected the cache plugin, in parallel one more nuance found. If I assign the title “Last Modified” to the forum pages, then the updating of the homepage on the mobile phone is correct. If I add the “If-Modified-Since” header, then when adding a new message on the computer, on the mobile phone the main page is not updated and it is not visible that a new message has appeared.
Quote from Erenbur on June 18, 2019, 10:34 amAdded a forum and forum pages to a plugin exception that assigns the headings “Last Modified” and “If-Modified-Since”. It worked.
I returned to the cache plugin, added the forum main page to the exceptions – it also worked fine.
Thomas, it seems to me that the forum has a small bug with the main page on a mobile phone. If a new message appears on the forum, then the main forum page in the regular version comes with a clear signal that you need to update.
With the mobile version of the main page is not so good. If it works by itself, then all is well. If other plug-ins interact with the mobile version of the main page of the forum, it is not updated when a new message appears.
Added a forum and forum pages to a plugin exception that assigns the headings “Last Modified” and “If-Modified-Since”. It worked.
I returned to the cache plugin, added the forum main page to the exceptions – it also worked fine.
Thomas, it seems to me that the forum has a small bug with the main page on a mobile phone. If a new message appears on the forum, then the main forum page in the regular version comes with a clear signal that you need to update.
With the mobile version of the main page is not so good. If it works by itself, then all is well. If other plug-ins interact with the mobile version of the main page of the forum, it is not updated when a new message appears.
Quote from Asgaros on June 18, 2019, 4:11 pmHello @erenbur
Asgaros Forum already uses its own object-caching functionality in some areas. Third-party caching-extensions cannot be used for the forum as long as the developers dont add the required detection-logic for it. This makes it necessary to disable caching-plugins for the page which contains the [forum]-shortcode.
A forum-system is also very dynamic, which makes it impossible to add caching for everything. Information must be updated on every interaction regarding unread-status, online-logic, ordering of posts based on answers, etc. If more caching is required to improve the overall-performance of the system, I will add required functionality for it into Asgaros Forum directly – which does not depend on third-party extensions.
However, developers of third-party caching-extensions are able to add caching-functionality to Asgaros Forum by using the available hooks. If you want to use a specific caching-solution, I suggest you to directly get in touch with the developers of those extensions.
Hello @erenbur
Asgaros Forum already uses its own object-caching functionality in some areas. Third-party caching-extensions cannot be used for the forum as long as the developers dont add the required detection-logic for it. This makes it necessary to disable caching-plugins for the page which contains the [forum]-shortcode.
A forum-system is also very dynamic, which makes it impossible to add caching for everything. Information must be updated on every interaction regarding unread-status, online-logic, ordering of posts based on answers, etc. If more caching is required to improve the overall-performance of the system, I will add required functionality for it into Asgaros Forum directly – which does not depend on third-party extensions.
However, developers of third-party caching-extensions are able to add caching-functionality to Asgaros Forum by using the available hooks. If you want to use a specific caching-solution, I suggest you to directly get in touch with the developers of those extensions.
Quote from Erenbur on June 18, 2019, 4:26 pmIf the forum has its own caching – this is good.
It would be desirable to resolve the issue with the addition to the forum header “If-Modified-Since”. While it is difficult for search engines to index the forum. If it contains thousands of messages, the search engine will have to bypass all messages in search of new ones.
If the pages of the forum give the search engine “Last Modified” and “If-Modified-Since”, then the search engine will bypass only new entries.
If the forum has its own caching – this is good.
It would be desirable to resolve the issue with the addition to the forum header “If-Modified-Since”. While it is difficult for search engines to index the forum. If it contains thousands of messages, the search engine will have to bypass all messages in search of new ones.
If the pages of the forum give the search engine “Last Modified” and “If-Modified-Since”, then the search engine will bypass only new entries.