Forum

Thread tagged as: Question, Problem

Caching on website

Hi Guys,

Have a slightly odd one. One of the sites I am woking on seems to be caching quite a lot, even a refresh won't work and I have to do a Cmd + R to show any changes. These changes could be template updates, updates within the CMS - adding content, updating content etc. For collections, perch content and perch_custom_content - all caching.

Any ideas what might be causing this? I know this is a little vague. The site is on the same server as many of my other Perch sites and none do this.

I don't have anything like PERCH_PRODUCTION_MODE set.

PERCH INFORMATION

Perch Runway: 2.8.25
Production mode: Production (100)
Installed apps: content (2.8.25), assets (2.8.25), categories (2.8.25), collection_1 (2.8.25), perch_gallery (2.8.6), collection_2 (2.8.25), collection_3 (2.8.25), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_backup_plans (0), perch2_backup_resources (0), perch2_backup_runs (0), perch2_categories (21), perch2_category_counts (0), perch2_category_sets (2), perch2_collection_index (3332), perch2_collection_items (477), perch2_collection_revisions (150), perch2_collections (3), perch2_content_index (4004), perch2_content_items (183), perch2_content_regions (17), perch2_gallery_albums (1), perch2_gallery_image_versions (12), perch2_gallery_images (2), perch2_navigation (1), perch2_navigation_pages (2), perch2_page_routes (6), perch2_page_templates (10), perch2_pages (8), perch2_resource_log (3978), perch2_resource_tags (3), perch2_resources (740), perch2_resources_to_tags (10), perch2_scheduled_tasks (20), perch2_settings (26), perch2_twitter_scheduled_tweets (0), perch2_twitter_settings (1), perch2_twitter_tweets (660), perch2_user_passwords (0), perch2_user_privileges (31), perch2_user_role_privileges (34), perch2_user_roles (2), perch2_users (2)
Users: 2
App runtimes:
<?php
    $apps_list = array(
        'content',
        'categories',
        'perch_twitter',
        'perch_gallery',
    );
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (60 mins)
Editor plug-ins: markitup
H1: bae1ab88da31326255a8cece300e1dec
L1: 946a24f531859110bb5ce56a08b47769
F1: dc1fef2ad0fcd9f943c02ebb43d85dbc
headerColour: #fc5d20
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.16: done
headerScheme: dark
update_runway_2.8.16: done
latest_version: 2.8.15
on_sale_version: 2.8.25
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /cms/resources/logo-amasci-perch-orange.png
update_runway_2.8.17: done
perch_twitter_update: 3.5
update_runway_2.8.18: done
update_runway_2.8.19: done
perch_gallery_update: 2.8.5
update_runway_2.8.25: done
perch_gallery_bucket_mode: single
perch_gallery_bucket: gallery
perch_gallery_basicUpload: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /home/supershoes/dev/
PERCH_SCHEDULE_SECRET: M39UWRtMT94LrZpy
PERCH_DB_USERNAME: supershoes-db
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: supershoes-dev
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: info@amasci.co.uk
PERCH_EMAIL_FROM_NAME: Terry Upton
PERCH_LOGINPATH: /cms
PERCH_PATH: /home/supershoes/dev/cms
PERCH_CORE: /home/supershoes/dev/cms/core
PERCH_RESFILEPATH: /home/supershoes/dev/cms/resources
PERCH_RESPATH: /cms/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_RUNWAY: 1
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/supershoes/dev/cms/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS

PHP: 5.4.41
Zend: 2.4.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
MySQL server: 5.5.47-cll
Free disk space: 323.37 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, session, json, mbstring, mcrypt, standard, mysql, mysqli, mysqlnd, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tokenizer, xml, xmlreader, xmlwriter, zip, cgi-fcgi, PDO, pdo_sqlite, raphf, propro, http, imagick, pdo_mysql, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: Yes
PHP max upload size: 100M
PHP max form post size: 110M
PHP memory limit: 250M
Total max uploadable file size: 100M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
AUTH_TYPE: Basic
DOCUMENT_ROOT: /home/supershoes/dev
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.8,en;q=0.6
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmssb=0; _ga=GA1.3.2067117486.1441793536; cmsa=1; PHPSESSID=de5128e7482e1e9750a9ef8e56262425
HTTP_HOST: dev.supershoes.org.uk
HTTP_REFERER: https://dev.supershoes.org.uk/cms/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36
PATH: /bin:/usr/bin
PHP_AUTH_PW: draft
PHP_AUTH_USER: amasci
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.133.44.91
REMOTE_PORT: 44160
REMOTE_USER: amasci
REQUEST_METHOD: GET
REQUEST_URI: /cms/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/supershoes/dev/cms/core/settings/diagnostics/index.php
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
SCRIPT_URI: https://dev.supershoes.org.uk/cms/core/settings/diagnostics/
SCRIPT_URL: /cms/core/settings/diagnostics/
SERVER_ADDR: 217.19.241.95
SERVER_ADMIN: webmaster@dev.supershoes.org.uk
SERVER_NAME: dev.supershoes.org.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
UNIQUE_ID: VrnyD9kT8V8AAHEKywAAAAAF
PHP_SELF: /cms/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1455026703.04
REQUEST_TIME: 1455026703
argc: 1

Thanks, Terry

Terry Upton

Terry Upton 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does it occur with static assets like CSS files?

No it is fine with static assets. I have just retested this to double check.

Drew McLellan

Drew McLellan 2638 points
Perch Support

If you put your site into development mode, does that make a difference? In dev mode we make attempts to invalidate the PHP opcode cache.

I am also having the same problem......did this ever get solved?