Changing page cache to action cache to avoid problems with ajax