Changes between Initial Version and Version 1 of Ticket #37889, comment 14
- Timestamp:
- 10/18/2018 11:31:01 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37889, comment 14
initial v1 4 4 5 5 6 I'm using in my .htaccess for speed optimization .6 I'm using in my .htaccess for speed optimization: 7 7 8 8 {{{ … … 10 10 }}} 11 11 12 I had to commend it out, to make the problem go away. 12 Using the functions.php snippet as described above 13 13 14 The functions.php technique ''adding no-cache'' didn't work for me.14 and 15 15 16 Putting a ''.htaccess'' into the ''wp-admin'' directory, with would set the Expires to ''access plus 0 seconds'' and overwrite the other ''.htaccess'' didn't work either.16 putting a ''.htaccess'' into the ''wp-admin'' directory, which would set the Expires to ''access plus 0 seconds'' and overwrite the other ''.htaccess'' made the trick. 17 17 18 The optimum solution would be, to have the frontend with long Expires and the Backend with immediate expires. 18 so the ''.htaccess'' in ''wp-admin'' looks like 19 20 {{{ 21 <IfModule mod_expires.c> 22 ExpiresActive On 23 ExpiresByType text/html "access plus 0 seconds" 24 </IfModule> 25 }}}