- Posts: 28
COMMUNITY FORUM
K2 attachments and page cache problem
- neppers
- Topic Author
- Offline
- Junior Member
Less
More
7 years 5 months ago #162410
by neppers
Replied by neppers on topic K2 attachments and page cache problem
Yes, with plugin disabled it is solved. But it is enough to disable the browser cache option inside the plugin. Then I can still use the cache plugin to make the pages load fast. :-)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 5 months ago #162425
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 attachments and page cache problem
`Nice to hear this :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jean Machuron
- Offline
- New Member
Less
More
- Posts: 15
6 years 7 months ago #167672
by Jean Machuron
Replied by Jean Machuron on topic K2 attachments and page cache problem
I am jumping back on this page because we have the same problem with attachments downloads.
Seems like it sets something in the browser cache whether the cache is activated or not. We tested all configurations and every time a click on a download link sets the default url to this link only, making that any url will download the same file again and again.
The only way to restore old behavior is to add a query parameter at the end of any url so that the browser requests something else, like ?tp=1 for instance
We tested with all htaccess files including the standard joomla default one so it's not a htaccess problem. We deactivated all joomla caches or jot cache plugins, cache was empty, so that's neither a joomla plugin cache problem
We deactivated on the fly SEF and the behavior was then correct. Correct download of the file and then correct behavior of all urls.
Reactivating SEF on the fly shows back the problem
There are absolutely no errors in any apache or nginx logs.
Thanks for helping to solve this or our only solution would be to stop using k2 component.
Regards
Jean
Seems like it sets something in the browser cache whether the cache is activated or not. We tested all configurations and every time a click on a download link sets the default url to this link only, making that any url will download the same file again and again.
The only way to restore old behavior is to add a query parameter at the end of any url so that the browser requests something else, like ?tp=1 for instance
We tested with all htaccess files including the standard joomla default one so it's not a htaccess problem. We deactivated all joomla caches or jot cache plugins, cache was empty, so that's neither a joomla plugin cache problem
We deactivated on the fly SEF and the behavior was then correct. Correct download of the file and then correct behavior of all urls.
Reactivating SEF on the fly shows back the problem
There are absolutely no errors in any apache or nginx logs.
Thanks for helping to solve this or our only solution would be to stop using k2 component.
Regards
Jean
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 7 months ago #167683
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 attachments and page cache problem
Hello,
Which version of Joomla! and K2 are you using?
Also what is your 'normal' caching configuration?
Which version of Joomla! and K2 are you using?
Also what is your 'normal' caching configuration?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jean Machuron
- Offline
- New Member
Less
More
- Posts: 15
6 years 7 months ago #167689
by Jean Machuron
Replied by Jean Machuron on topic K2 attachments and page cache problem
Joomla 3.8.7 and K2 v 2.8.0
There is no cache activated in config for tests
The only solution that I found was to add index.php before the generation of the download link in the item template.
It works but I guess that this is something you should have a look at :-)
There is no cache activated in config for tests
The only solution that I found was to add index.php before the generation of the download link in the item template.
It works but I guess that this is something you should have a look at :-)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 7 months ago #167707
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 attachments and page cache problem
Thank you for your feedback, We 'll investigate it.
Is it possible to have some more info on your setup? PHP version/ Server etc?
Is it possible to have some more info on your setup? PHP version/ Server etc?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jean Machuron
- Offline
- New Member
Less
More
- Posts: 15
6 years 7 months ago #167711
by Jean Machuron
Replied by Jean Machuron on topic K2 attachments and page cache problem
Yes here it is : Apache with Nginx proxy on linux server with Maria DB with PHP 7, Joomla 3.8.7 all components updated, jotcache (deactivated for this post and cache emptied)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 6 months ago #167737
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 attachments and page cache problem
You are not by any chance using engintron.com/ ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jean Machuron
- Offline
- New Member
Less
More
- Posts: 15
6 years 6 months ago #167798
by Jean Machuron
Replied by Jean Machuron on topic K2 attachments and page cache problem
No we don't
We checked all server side and everything is working fine.
This is a very important problem because it seems that the web engines have cached the download links and now we have every day a break in the website which only download the item from every page.
That's crazy. Do you have a suggestion to stop this ? any hints at the problem ?
We checked all server side and everything is working fine.
This is a very important problem because it seems that the web engines have cached the download links and now we have every day a break in the website which only download the item from every page.
That's crazy. Do you have a suggestion to stop this ? any hints at the problem ?
Please Log in or Create an account to join the conversation.