Project Arthur

Project Arthur 4 years ago

Perfect extension!!

Project Arthur

Project Arthur 4 years ago

btw., how to skip module from cache? I have installed notification bar module, but when i enabling page cache, even if anyone press close button, after refresh page appearing adain...

refresh

Niwram

Niwram 4 years ago

This extension is a must for every Opencart period.

sekhil

sekhil 5 years ago

please 3x pleaseeeee

promoderator

promoderator 6 years ago

Hello thank you for this great add-on, using it without problems so far.
Also I have a question, in a store with a numerous inventory I need to lower disk usage space so wanting to cache only categories and information pages - excluding singular products pages. I've tried adding in $skip_urls array #product/product# and #product/product&product_id# yet the caching is still processing all, can you advice please?

procheck

procheck 7 years ago

Great extension. Thanks for creating it!

alexlim

alexlim 7 years ago

This cahce cannot support vqmod?

sag33

sag33 7 years ago

Hi developer,
I was happily using the page cache extension for the last 6 months when this issue cropped up:
1)VQmod is not loading correctly on the front
end, vQmod adds its cached files into the folder *vQmod/vqcache*, but the
only files that vQmod seems to be able to modify and cache into that
folder are all the files in the /system folder and all the controller
files. When it tries to apply modifications to any of the template
files, it fails and no (vqmod) cache files are created.
2)I tried disabling the mod and noticed that v2pagecache is not completely disabled even after disabling it from the control panel

What do you think of these?

guy100

guy100 7 years ago

The plugin works really great, thank you for this nice work.
I had some problem with some seo plugin that change the links of logged customers, but i just put the new url in skip_urls.
I have one other problem with megafilter which i had different setup for desktop and mobile view. Whatever come first stay there.
Whatever device come first the view stay in that way and not change in other device (Desktop-mobile).

budgetneon

budgetneon 7 years ago

Megafilter shows different content for the same uri/url, so it's not compatible with the page cache.

refresh

sdfsdfsdfsdfsdf

sdfsdfsdfsdfsdf 7 years ago

Hi! Happy new year! Tell me, how to disable to cache product pages? product/product - is not working.... (

rainseyau

rainseyau 7 years ago

tested oc 2.0.1.1 with php7.1 and the following session error occurs:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /public_html/system/library/v2pagecache.php:1) in public_html/system/library/v2pagecache.php on line 60

function at line 60:

public function __construct() {
// session initialization code verbatim
// from opencart's library/session.php
if (!session_id()) {
ini_set('session.use_only_cookies', 'On');
ini_set('session.use_trans_sid', 'Off');
ini_set('session.cookie_httponly', 'On');
session_set_cookie_params(0, '/');
session_start();
}

any fix?

sdfsdfsdfsdfsdf

sdfsdfsdfsdfsdf 7 years ago

Hi! Happy new year! Tell me, how to disable to cache product pages? product/product - is not working.... (

Galionix

Galionix 7 years ago

ну и параша, вся страница поехала

joemarzullo

joemarzullo 8 years ago

Hi Budgetneon, congratulations, your extension is really great. Simple, functional, reactive.
Question how can I add more languages to cache memory? My site has three languages, IT / DE / FR, I would like to cache these languages. I did not understand how to do it.

budgetneon

budgetneon 7 years ago

I suspect that opencart changed something in one of the 2.x releases that broke this functionality for the cache. I don't currently have an environment or the time to chase it down. If you happen to have some php expertise and could look into it, it might help. Search this file for the string "lang" and you can see what I'm trying to do.

refresh

tigransh

tigransh 8 years ago

When I choose to change the language of cached page, nothing changes. Does this module support multi-language?

budgetneon

budgetneon 8 years ago

I've only heard that problem with 3rd party themes, or other plugins. It should work out of the box with the default theme on a multi-language site.

budgetneon

budgetneon 8 years ago

Also, we've not tested it with OC 3.x

Qaqlan

Qaqlan 7 years ago

I have version 2.3.0.2.
I have a similar problem, the language switch does not work ...

budgetneon

budgetneon 7 years ago

Are you using the default theme or a 3rd party one?

budgetneon

budgetneon 7 years ago

FYI, I did push a change to the code. We were requiring the language that's stored in the cookie to be two lower case letters, optionally followed by a dash and more letters. Like, for example en-GB. So, if you had a language that started with something other than 2 lower case letters, you might see this problem. Now, it has to start with two letters of any case, optionally followed by a dash and more letters. So, now, "EN-GB" or "EN" or "En-abcdef" would work. If your language isn't working, try and see what opencart is setting the "language" cookie to.

refresh

sag33

sag33 8 years ago

Hi,

I am facing two issues with the page cache:
1. All my pages seem to shift by half an inch downwards, a white bar appears on top of pages. I tried changing the addcomment setting to 'false' but it didn't help
2. When I try to add an item to cart, I get a syntax error: 'Unexpected token in JASON at position 0....'

If you get the time to review his, please do. It'd be very helpful!

Thank you,

budgetneon

budgetneon 8 years ago

#2 is likely because it's caching a url that it shouldn't be caching, one that returns json. This is almost surely a url provided by another extension or a custom theme...something that doesn't exist in stock opencart. So, you'll need to use chrome's developer tools (or similar) to see what the url is. In chrome's developer tools, see the "NETWORK" tab, and limit your view to XHR requests, and reload the page. Once you know what the url is, add a regex patterns to the $skip_urls array to keep it from being cached. There's more info on that here: https://github.com/budgetneon/v2pagecache

In short, if you're trying to use this page cache with a 3rd party theme, or other extensions, then you have to have some knowledge on how to block certain urls from being cached.

sag33

sag33 8 years ago

Beautiful! That worked like a charm, best part is that solving for #2 solved #1 automatically! Great extension, Thank you.

refresh

champ84

champ84 8 years ago

Hi This is fantastic extension working fine with version 2.3.0.2
do you have any plan to update this for OC 3?

budgetneon

budgetneon 8 years ago

I have limited time to work on this, and haven't yet had time to see how OC3 works. I do plan on making it work, but I'll probably wait until OC3 is stable enough. I did the 2.x port early, and the OC team ended up changing how sessions worked 3 or 4 times. I don't want to go through that again :)

refresh

lemarcgagnon

lemarcgagnon 8 years ago

Hello! Thanks for your great module. When I activate it, it prevents the language switch from the site (here http://www.planches.ca). Although all used to work just fine. I tried the reset button thus erasing all the caches, but still this issue remains. I simply had to disable it to regain control over the language selection. My questions are:

1) How do I clean all the caches totally on the site to make sure it works fine again
2) Is there a clean extension you wold recommend to use to reset all the caches on the site?

Yours,

Marc

budgetneon

budgetneon 8 years ago

"Although all used to work just fine"

So what changed between then and now? Did you add a new module, change themes, upgrade opencart, etc?

>How do I clean all the caches totally on the site to make sure it works fine again
Manually, you could just remove all the files in the cache directory, something like:
find /your_opencart_root/system/cache/v2pagecache -delete

>2) Is there a clean extension you wold recommend to use to reset all the caches on the site?
Sorry, not sure what you mean. More interesting in what you've changed since it was last working.

refresh

kacamak18

kacamak18 8 years ago

Hi

I have a problem about this module.
https://s17.postimg.org/e5aror3mn/error.png

Please tell me a solution..

Best Regards

budgetneon

budgetneon 8 years ago

Like it says, you'll need to manually edit your index.php and fix the problem.

Instructions on how to do that are here: https://github.com/budgetneon/v2pagecache#manual-installation

Not sure how you ended up with 8 lines (instead of 9) with the //V2PAGECACHE marker in them.

kacamak18

kacamak18 8 years ago

Thx so much I have missed it I fixed. Thx again

refresh

Kobold

Kobold 8 years ago

It will be work with https?

budgetneon

budgetneon 8 years ago

Yes.

refresh

sloth-dev

sloth-dev 8 years ago

Hello! I'm using 2.1.0.2. Thanks a lot for great extension! It works fine with Journal2.
I got an error when I edit an order in admin area.
Call to a member function getId() on null in .../system/library/cart.php on line 35
Something wrong with sessions. It works fine when v2pagecache is disabled. May be I should to config something?

sloth-dev

sloth-dev 8 years ago

Sorry. That's issue with another extension

refresh