• Resolved Anonymous User 254267

    (@anonymized-254267)


    How can I change value of:

    Value of Cache-Control: max-age=3, must-revalidate

    I was trying to use:

    define('WPSC_CACHE_CONTROL_HEADER', 'max-age=3600, must-revalidate' );

    but it is not working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sa?a

    (@stodorovic)

    Hi @paszczak000,

    After you change config files directly, it’s recommended to purge entire cache (including OPCache). In your case, plugin should re-create entire cache directory to update .htaccess there (wp-content/cache/.htaccess). It requires deleting all content in cache directory (including .htaccess).

    As quick solution, you could edit line related to header in wp-content/cache/.htaccess, but I think that’s better to delete cache directory via FTP and check this line later (new .htaccess should be created based on constant WPSC_CACHE_CONTROL_HEADER).

    Thread Starter Anonymous User 254267

    (@anonymized-254267)

    I have edited manually .htaccess and start working.

    • This reply was modified 6 years, 1 month ago by Anonymous User 254267.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Value of Cache-Control: max-age=3, must-revalidate’ is closed to new replies.