Upgrade Core with composer

I've searched and there are many topics about upgrading modules, etc. with composer and that works for me. However the posts I've found on updating core with composer are outdated with a composer.json file that does not match what you get with 8.0.5 and/or include a bunch of post script processing.

I installed drupal clean with

$ composer create-project drupal/drupal /home/mydir/public_html 8.0.5

This gave me a composer.json with this as the entry for drupal core.

"replace": {
"drupal/core": "~8.0"
},

Drupal 8 and Cache max-age

Hello,

I am having a mixed success disabling caching for a some dynamically generated pages. I'm adding the following:
$build[] = ['#cache' => ['max-age' => 0]];
to my render array, but it is still caching it. Am I missing something? As usual, the API docs provide virtually no guidance or sample code...

The entire function that builds the page is:

Images Not Displaying After Upload Until Cache Clear

Uploaded images are not appearing until the browser cache is cleared.

Noticed this happening in the preview after upload when creating content, where the normal image field appears at tops of articles, in views. Appears to happen when Drupal draws a new version of the image.

Can Drupal do the following things

Hello, I am looking to answer a few questions about what Drupal can and can't do.

Is anyone able to help with the following basic queries?

I would be really grateful for any help you can provide.

**

Questions

Cybage.com

Business Problem: Build a corporate website using Drupal 8

Business Solution:

Sectors: 
Technology

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x